RequireNoNullsKtIterableExtension<T> extension

on

Methods

filterNotNull() KtList<T>

Available on KtIterable<T?>, provided by the RequireNoNullsKtIterableExtension extension

Returns a list containing all elements that are not null.
requireNoNulls() KtIterable<T>

Available on KtIterable<T?>, provided by the RequireNoNullsKtIterableExtension extension

Returns an original collection containing all the non-null elements, throwing an ArgumentError if there are any null elements.