getOrNull

fun getOrNull(): T?

Returns the success value, or null on error. A successful nullable value can also be null.