compact method

Iterable<E> compact()

Returns a new non-null List by filtering out null values in the this List.

Implementation

Iterable<E> compact() => whereType<E>();