toOption

fun <T> T?.toOption(): Option<T>(source)