-
Notifications
You must be signed in to change notification settings - Fork 186
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
inArray / notInArray strict equality inconsistency #246
Comments
Unless there's any specific feedback, I'll make both use strict comparison and release that next week. |
This wasn't intentional 😄 Definitely just an oversight! |
👍 |
@rquadling I've actually noticed it when I needed loose comparison :-). I know loose comparison is not as usual but if both |
inArray
is an alias forchoice
. It passestrue
as third argument ofin_array
.On the other hand,
notInArray
does not use the third argument when callingin_array
(=false
). Is this intentional?Shouldn't there be both versions?
The text was updated successfully, but these errors were encountered: