isNotEmpty

inline fun <T> Array<out T>.isNotEmpty(): Boolean(source)

Returns true if the array is not empty.

Since Kotlin

1.0

Returns true if the collection is not empty.

Since Kotlin

1.0

Samples


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

Returns true if this map is not empty.

Since Kotlin

1.0

Samples