all
Returns true
if all elements match the given predicate.
Note that if the array contains no elements, the function returns true
because there are no elements in it that do not match the predicate. See a more detailed explanation of this logic concept in Vacuous truth article.