isEmpty

abstract fun isEmpty(): Boolean(source)

Returns true if this collection is empty. Generally, calling this method is more efficient than calling getFiles().isEmpty().

Return

true if this collection is empty, false otherwise.