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