EitherExtension<L, R> extension

Extension for Either to get the value of Right or Left.

on

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.