Return this Option if it is non-empty and applying the predicate p to this Option's value returns true.
Return this Option if it is non-empty and applying the predicate p to this Option's value returns true. Otherwise, return None.
Return the result of applying f
to this Option's value if this Option is non-empty, otherwise None.
Flatten a nested Option.
Apply f
to the value inside this Option, if it is non-empty, otherwise return ifEmpty
.
Get the value inside this Option, if it is non-empty, otherwise the supplied default.
Check if this Option is non-empty.
Check if this Option is empty.
Transform the value inside this Option
Check if this Option is non-empty.
(anyOptionExtensionMethods: StringAdd).self
(anyOptionExtensionMethods: StringFormat).self
(anyOptionExtensionMethods: ArrowAssoc[AnyOptionExtensionMethods[O, P]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(anyOptionExtensionMethods: Ensuring[AnyOptionExtensionMethods[O, P]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Extension methods for Options of single- and multi-column values