any

inline fun any(): Boolean(source)

Returns true if there's at least one element in the collection.


inline fun any(predicate: (element: Long) -> Boolean): Boolean(source)

Returns true if any of the elements give a true return value for predicate.