getOrNull

abstract fun getOrNull(): Success?

Returns the encapsulated value if this instance represents success or null if it is failure.