assertk.assertions / isEmpty

isEmpty

fun Assert<Array<*>>.isEmpty(): Unit

Platform and version requirements: Common

Asserts the array is empty.

See Also

isNotEmpty

isNullOrEmpty

fun Assert<CharSequence>.isEmpty(): Unit

Platform and version requirements: Common

Asserts the char sequence is empty.

See Also

isNotEmpty

isNullOrEmpty

fun Assert<Collection<*>>.isEmpty(): Unit

Platform and version requirements: Common


fun Assert<Map<*, *>>.isEmpty(): Unit

Platform and version requirements: Common

Asserts the collection is empty.

See Also

isNotEmpty

isNullOrEmpty

fun Assert<Iterable<*>>.isEmpty(): Unit

Platform and version requirements: Common

Asserts the iterable is empty.

See Also

isNotEmpty

isNullOrEmpty