Skip to content

webshrine / stdlib/src / max

Function: max()

max<T>(numerable1, numerable2): T

Returns the maximal one of two numeric values, longest of Lengthy, or biggest of Sized values/objects.

Type Parameters

T extends Lengthy | Sized | Numeric

Parameters

numerable1

T

numerable2

T

Returns

T

Defined in

packages/stdlib/src/transformers/numerable.ts:91