Get a lesser number from two possibly empty numbers. Returns None when both operands are None, otherwise returns the other (nonempty) operand.
None
min2Any(1)(2) // Some(1)min2Any(1)(null) // Some(1)min2Any(null)(undefined) // None Copy
min2Any(1)(2) // Some(1)min2Any(1)(null) // Some(1)min2Any(null)(undefined) // None
Generated using TypeDoc
Get a lesser number from two possibly empty numbers. Returns
None
when both operands areNone
, otherwise returns the other (nonempty) operand.