-
Notifications
You must be signed in to change notification settings - Fork 621
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
AllTrue / AllFalse return True for empty lists #4940
Comments
@andydandy74 Thanks - this is tracked with MAGN-7932. |
@andydandy74,, @jnealb , that's expected. May I say that "all items are true" ( So although at the first glance it is weird that both |
Thanks for clarifying that, @ke-yu - I guess I'll just have to make a custom |
Shouldn't
AllTrue
/AllFalse
returnfalse
when passed an empty list? I think they should only returntrue
if the list contains at least one item (and if all items in the list satisfy the condition, of course).The text was updated successfully, but these errors were encountered: