githubEdit

$max

Computes the maximum number in an array.

Signature

{{$max array [format]}}

Arguments

Name
Description
Type
Required

array

Array of numbers.

Number Array

format

Format string used to format the result

String

Returns

Returns the maiximum value.

Example

{{$max scores}}

Last updated

Was this helpful?