W3cubDocs

/Kotlin

isArrayOf

Platform and version requirements: JVM (1.0)
fun <reified T : Any> Array<*>.isArrayOf(): Boolean

Checks if array can contain element of type T.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/is-array-of.html