isEmpty

abstract fun isEmpty(): Boolean(source)

Checks whether this collection has no elements.

Return

true when the collection is empty.