assertk.assertions / isNullOrEmpty

isNullOrEmpty

fun Assert<Array<*>?>.isNullOrEmpty(): Unit

Platform and version requirements: Common

Asserts the array is null or empty.

See Also

isEmpty

fun Assert<CharSequence?>.isNullOrEmpty(): Unit

Platform and version requirements: Common

Asserts the char sequence is null or empty.

See Also

isEmpty

fun Assert<Collection<*>?>.isNullOrEmpty(): Unit

Platform and version requirements: Common


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

Platform and version requirements: Common

Asserts the collection is null or empty.

See Also

isEmpty