getOrNull

Returns the encapsulated value if this instance represents Success or null if it is Failure.


Returns the encapsulated value if this instance represents Success or null if it is Failure.