facet
0.5.0-SNAPSHOT
common
/
io.facet.common
/
toOptional
to
Optional
fun
<
T
:
Any
>
T
?
.
toOptional
(
)
:
Optional
<
T
>
Content copied to clipboard
Extension function to convert a nullable type to an optional.
Sources
jvm source
Link copied to clipboard