NullableToOption<T> extension
Create Option from nullable value
- on
-
- T?
Methods
-
toOption(
) → Option< T> -
Available on T?, provided by the NullableToOption extension
Returns Some if the value is not null, otherwise None