kotlin.collections.takeWhile
takeWhile
inline fun <T> Iterable<T>.takeWhile( predicate: (T) -> Boolean ): List<T>
inline fun <T> Array<out T>.takeWhile( predicate: (T) -> Boolean ): List<T>
inline fun ByteArray.takeWhile( predicate: (Byte) -> Boolean ): List<Byte>
inline fun ShortArray.takeWhile( predicate: (Short) -> Boolean ): List<Short>
inline fun IntArray.takeWhile( predicate: (Int) -> Boolean ): List<Int>
登录查看完整内容