RequireNoNullsKtIterableExtension<T> extension
- on
-
- KtIterable<
T?>
- KtIterable<
Methods
-
filterNotNull(
) → KtList< T> -
Returns a list containing all elements that are not
null
. -
requireNoNulls(
) → KtIterable< T> -
Returns an original collection containing all the non-
null
elements, throwing an ArgumentError if there are anynull
elements.