KotlinCollection Opsany
count

anyCollection Ops

all

Returns true if at least one element matches the given predicate.

Syntax

collection.any { predicate }