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 'every' type predicate #4

Merged
merged 3 commits into from Jun 8, 2022
Merged

Add 'every' type predicate #4

merged 3 commits into from Jun 8, 2022

Conversation

hughrawlinson
Copy link
Contributor

The isArray function doesn't check element types, so this is an equivalent function that does. I'm open to renaming it if you have another name you prefer?

Copy link
Owner

@nshen nshen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome! and the name every is good to me.

@nshen nshen merged commit 78d9c9b into nshen:main Jun 8, 2022
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.

None yet

2 participants