JavaScript function: Finds if a predicate is true for all members of an array or object.
Useful links