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

either vs any #8

Open
m59peacemaker opened this issue May 15, 2020 · 2 comments
Open

either vs any #8

m59peacemaker opened this issue May 15, 2020 · 2 comments

Comments

@m59peacemaker
Copy link

How do you feel about changing either to any? When passing more than two values to either, it reads oddly.

@TehShrike
Copy link
Owner

oh huh, yeah, I didn't think of it that way... in English, "either X or Y or Z" sounds fine, but as a function/without the "or", it does seem awkward doesn't it.

any seems fine to me?

@TehShrike
Copy link
Owner

maybe anyOf?

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

No branches or pull requests

2 participants