getOrNull

fun getOrNull(): T?

Returns value as T if this instance presents a successful result. Otherwise returns null.