0.3.8
Pre-release
Pre-release
Features
This release improves usability of Option
with some new operations
isEmpty
to check whether the value is defined or not. It is counterpart forisDefined
and aligns well w/ other structurestapNone
to allow executing side effect when Option is none. This is handy when some logging is needed in case of empty valuestoEither
direct conversion method with possible left side definition on empty.toArray
direct conversion to empty array when Option is empty and single element array when Option is definedtoList
similar totoArray
, direct conversion to emptyArrayList
or single elementArrayList