every

open fun <E> every(@NonNull collection: Collection<E>, @NonNull filter: (E) -> Boolean): Boolean

Check whether all elements of the collection pass the filter

Return

True if condition is true for all elements in the collection