UnwrapList<T> extension

on

Methods

unwrap() List<T>

Available on List<T?>?, provided by the UnwrapList extension

Unwraps a nullable list of nullable items into a non-nullable list of non-nullable items. If the original list is null, it returns an empty list. If the original list contains null items, they are filtered out.