EitherExtension<L, R> extension
- on
-
- Either<
L, R>
- Either<
Methods
-
getLeftOrNull(
) → L? -
Returns the value of Left if available. Otherwise,
null
is returned. -
getRightOrNull(
) → R? -
Returns the value of Right if available. Otherwise,
null
is returned.