Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FeatureRequest]: Have isnan return true for an array value instead of error #986

Open
DonStauffer opened this issue Apr 26, 2024 · 0 comments
Assignees
Labels
enhancement Additional functionality, performance or other feature request
Milestone

Comments

@DonStauffer
Copy link

Is your feature request related to a problem? Please describe.

I'd like to be able to tell whether something is an array or not.

Describe the solution you propose.

I propose having the isnan function return true for an array value

Describe alternatives you've considered

Everything I've tried throws an error either when the value is or is not an array. For example, passing the first element of an array to exists produces an error (logically) if the value is actually not an array.

Provide any additional context or information.

What I'm doing right now is trying to pass a parameter to a macro, where the macro behaves differently if you pass a 1D or 2D array.

@DonStauffer DonStauffer added the enhancement Additional functionality, performance or other feature request label Apr 26, 2024
@T3P3 T3P3 added this to the After 3.6 milestone May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Additional functionality, performance or other feature request
Projects
None yet
Development

No branches or pull requests

3 participants