assertk.assertions / size

size

fun Assert<Array<*>>.size(): Assert<Int>

Platform and version requirements: Common

Returns an assert on the Arrays's size.

fun Assert<Collection<*>>.size(): Assert<Int>

Platform and version requirements: Common

Returns an assert on the Collection's size.

fun Assert<Map<*, *>>.size(): Assert<Int>

Platform and version requirements: Common

Returns an assert on the Maps's size.

@JvmName("byteArraySize") fun Assert<ByteArray>.size(): Assert<Int>

Returns an assert on the ByteArray's size.

@JvmName("intArraySize") fun Assert<IntArray>.size(): Assert<Int>

Returns an assert on the IntArray's size.

@JvmName("shortArraySize") fun Assert<ShortArray>.size(): Assert<Int>

Returns an assert on the ShortArray's size.

@JvmName("longArraySize") fun Assert<LongArray>.size(): Assert<Int>

Returns an assert on the LongArray's size.

@JvmName("floatArraySize") fun Assert<FloatArray>.size(): Assert<Int>

Returns an assert on the FloatArray's size.

@JvmName("doubleArraySize") fun Assert<DoubleArray>.size(): Assert<Int>

Returns an assert on the DoubleArray's size.

@JvmName("charArraySize") fun Assert<CharArray>.size(): Assert<Int>

Returns an assert on the CharArray's size.