getOrNull

fun getOrNull(): T?

Returns the encapsulated value if this instance represents success or null if it represents failed result.

Sources

common source
Link copied to clipboard