P.some in user-land #151
astahmer
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
since P.array =
.every(xxx)-> will match if all elements in the input array match this sub-pattern.)I was a bit surprised there was no built-in P.some, so here it is
Beta Was this translation helpful? Give feedback.
All reactions