leftOrNull method
L?
leftOrNull()
Returns the value of Left if available. Otherwise, null is returned.
Implementation
L? leftOrNull() => fold((l) => l, (r) => null);
Returns the value of Left if available. Otherwise, null is returned.
L? leftOrNull() => fold((l) => l, (r) => null);