getOrNull

fun getOrNull(): T?(source)

The value, or null on error.