inline fun <T> List<T>.dropLastWhile( predicate: (T) -> Boolean ): List<T>
inline fun <T> Array<out T>.dropLastWhile( predicate: (T) -> Boolean ): List<T>
inline fun ByteArray.dropLastWhile( predicate: (Byte) -> Boolean ): List<Byte>
inline fun ShortArray.dropLastWhile( predicate: (Short) -> Boolean ): List<Short>
inline fun IntArray.dropLastWhile( predicate: (Int) -> Boolean ): List<Int>
inline fun LongArray.dropLastWhile( predicate: (Long) -> Boolean ): List<Long>
inline fun FloatArray.dropLastWhile( predicate: (Float) -> Boolean ): List<Float>
inline fun DoubleArray.dropLastWhile( predicate: (Double) -> Boolean ): List<Double>
inline fun BooleanArray.dropLastWhile( predicate: (Boolean) -> Boolean ): List<Boolean>
inline fun CharArray.dropLastWhile( predicate: (Char) -> Boolean ): List<Char>
Returns a list containing all elements except last elements that satisfy the given predicate.
© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/drop-last-while.html