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
-
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