Skip to content

function max (shared-side)

Available since version: 0.3.0

Note

Arguments must be comperable between each other, otherwise the function will throw an error.

This function will return the largest item in an array.

Declaration

any max(any values)

Parameters

  • any values: array values used in comparision operation.

Returns any

the largest item.