MaybeNonNullableE<T extends Object> extension

on

Methods

filterNonNullable() Maybe<T>

Available on Maybe<T>, provided by the MaybeNonNullableE extension

In case theres a value, keep it only if it is not null, otherwise return None.
whereNotNull() Maybe<T>

Available on Maybe<T>, provided by the MaybeNonNullableE extension

Transforms null into None In case theres a value, keep it only if it is not null, otherwise return None.