NoneIfEmptyOnListExt<T extends Object> extension

on

Properties

noneIfEmpty Option<List<T>>

Available on List<T>, provided by the NoneIfEmptyOnListExt extension

Returns this list wrapped in a Some if it's not empty, otherwise returns None.
no setter