-
Notifications
You must be signed in to change notification settings - Fork 96
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
CanBeInteger check when value has whitespace #115
Comments
Yes, that should do is. I also added some more |
Thanks for reporting @nguyenaiden! |
Hey @bkiers! Do you know when you would be releasing the new changes? |
Hi @nguyenaiden 0.7.7 has just been released, so 0.7.8 will be release in a couple of weeks with (perhaps) some other fixes. |
@nguyenaiden FYI: #118 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the canBeInteger check, if the value coming in is actually a Number in string form but has leading and trailing white spaces, it is throwing a false. For example,
foo
in this case actually evaluates to 1.0.Is adding
.trim()
to the value in canBeInteger a possible solution?The text was updated successfully, but these errors were encountered: