-
Notifications
You must be signed in to change notification settings - Fork 6
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
v.number should reject NaN #29
Comments
I don't think we should bifurcate fusspots behaviour from standard Javascript. If |
I don't know ... I don't know of any situation in which I'd want to accept |
Seems reasonable to me. We already have a v.nonEmptyString dealing similar case for strings. Let us add a |
Opened #44 to address this |
Although
typeof NaN === 'number'
, I'd expect that you always want to rejectNaN
if you're expecting a real number.The text was updated successfully, but these errors were encountered: