isNotEmpty

fun <K, V> Map<K, V>.isNotEmpty(): Boolean(source)

Checks whether this map contains at least one association.

Delegates to Map.isEmpty without traversing the map itself.

Receiver

map to inspect.

Return

true when isEmpty returns false.


Checks whether this collection contains at least one element.

Delegates to Collection.isEmpty without traversing the collection itself.

Receiver

collection to inspect.

Return

true when Collection.isEmpty returns false.