assertk.assertions / isNotEmpty

isNotEmpty

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

Platform and version requirements: Common

Asserts the array is not empty.

See Also

isEmpty

fun Assert<CharSequence>.isNotEmpty(): Unit

Platform and version requirements: Common

Asserts the char sequence is not empty.

See Also

isEmpty

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

Platform and version requirements: Common


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

Platform and version requirements: Common

Asserts the collection is not empty.

See Also

isEmpty

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

Platform and version requirements: Common

Asserts the iterable is not empty.

See Also

isEmpty