kotlin-stdlib / kotlin.collections / isEmpty isEmpty Common JVM JS Native 1.0 fun < T > Array < out T > . isEmpty ( ) : Boolean (source) fun ByteArray . isEmpty ( ) : Boolean (source) fun ShortArray . isEmpty ( ) : Boolean (source) fun IntArray . isEmpty ( ) : Boolean (source) fun LongArray . isEmpty ( ) : Boolean (source) fun FloatArray . isEmpty ( ) : Boolean (source) fun DoubleArray . isEmpty ( ) : Boolean (source) fun BooleanArray . isEmpty ( ) : Boolean (source) fun CharArray . isEmpty ( ) : Boolean (source) Returns true if the array is empty.