Skip to content

max ​

max() returns the maximum of a tuple of Number (wrapped or raw).

Interactive example ​

Syntax ​

typescript
function max(input: AnyTuple<Number | number>): Number

Parameters ​

  • input : non-empty tuple of numbers (wrapped or raw).

Return value ​

A wrapped Number containing the maximum.

See also ​

Released under the MIT license.