getOrNull method

R? getOrNull()

Returns the Right value if this is a Right, otherwise null.

Implementation

R? getOrNull() => rightOrNull();