Spec-Zone.ru › Kotlin 1.6

isEmpty

kotlin-stdlib / kotlin.collections / isEmpty
Требования к платформе и версии: JVM (1.0), JS (1.0), Native (1.0)
fun <T> Array<out T>.isEmpty(): Boolean
fun ByteArray.isEmpty(): Boolean
fun ShortArray.isEmpty(): Boolean
fun IntArray.isEmpty(): Boolean
fun LongArray.isEmpty(): Boolean
fun FloatArray.isEmpty(): Boolean
fun DoubleArray.isEmpty(): Boolean
fun BooleanArray.isEmpty(): Boolean
fun CharArray.isEmpty(): Boolean

Возвращает true , если массив пустой.

© 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.collections/is-empty.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API