kotlin.collections.requireNoNulls
requireNoNulls
fun <T : Any> Iterable<T?>.requireNoNulls(): Iterable<T>
fun <T : Any> List<T?>.requireNoNulls(): List<T>
fun <T : Any> Array<T?>.requireNoNulls(): Array<T>
Returns an original collection containing all the non-null
elements, throwing an IllegalArgumentException if there are any null
elements.
© 2010–2017 JetB