Python, Ruby, Rust, Haskell, Kotlin, C#, C++, Perl, MATLAB, SQL, and R all call their respective array predicate checking functions any
and all
.
Is there any record of why JavaScript's designers decided to deviate from the naming convention other languages have used for these functions since the 90's?
Some Lisp-family languages (specifically Common Lisp and Clojure) seem to be the only other notable users of some
and every
.
_of
).some
andevery
as well. How hard did you look?