isArrayOf

fun <reified T : Any> Array<*>.isArrayOf(): Boolean(source)

Checks if array can contain element of type T.

Since Kotlin

1.0