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

@JvmName("byteArrayIsEmpty") fun Assert<ByteArray>.isEmpty(): Unit

Asserts the ByteArray is empty.

See Also

isNotEmpty

isNullOrEmpty

@JvmName("intArrayIsEmpty") fun Assert<IntArray>.isEmpty(): Unit

Asserts the IntArray is empty.

See Also

isNotEmpty

isNullOrEmpty

@JvmName("shortArrayIsEmpty") fun Assert<ShortArray>.isEmpty(): Unit

Asserts the ShortArray is empty.

See Also

isNotEmpty

isNullOrEmpty

@JvmName("longArrayIsEmpty") fun Assert<LongArray>.isEmpty(): Unit

Asserts the LongArray is empty.

See Also

isNotEmpty

isNullOrEmpty

@JvmName("floatArrayIsEmpty") fun Assert<FloatArray>.isEmpty(): Unit

Asserts the FloatArray is empty.

See Also

isNotEmpty

isNullOrEmpty

@JvmName("doubleArrayIsEmpty") fun Assert<DoubleArray>.isEmpty(): Unit

Asserts the DoubleArray is empty.

See Also

isNotEmpty

isNullOrEmpty

@JvmName("charArrayIsEmpty") fun Assert<CharArray>.isEmpty(): Unit

Asserts the CharArray is empty.

See Also

isNotEmpty

isNullOrEmpty