getOrNull

fun getOrNull(): T?

The success value, or null on failure.