allAre

inline fun allAre(predicate: (T) -> Boolean): Boolean

Returns true if all elements match the given predicate.

Note this function will return true if the list is empty, according to the principle of Vacuous truth, and the fact that there are no elements that don't match the given predicate.