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

Add extension methods for enumerables #95

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

alberdingk-thijm
Copy link
Contributor

Add Exists (equivalent to Enumerable.Any) and ForAll (equivalent to Enumerable.All) extension methods. These can be used as shorthands for constructing boolean Zen values over an enumerable, when the desired result is an Or or an And (respectively) over all the enumerable's values.

Add Exists (equivalent to Enumerable.Any) and ForAll (equivalent to Enumerable.All) extension methods.
These can be used as shorthands for constructing boolean
Zen values over an enumerable, when the desired result
is an Or or an And (respectively) over all the enumerable's values.
@alberdingk-thijm
Copy link
Contributor Author

@microsoft-github-policy-service agree

@rabeckett rabeckett merged commit 4f42ef2 into microsoft:master Dec 4, 2023
2 checks passed
@alberdingk-thijm alberdingk-thijm deleted the enumerable-extensions branch December 4, 2023 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants