KotlinCollection Opscount
drop

countCollection Ops

any

Returns the number of elements matching the given predicate.

Syntax

collection.count { predicate? }