Function max

  • Parameters

    • array: readonly [number, number]

    Returns number

    Max gets the greatest value from a list

    max([ 2, 3, 5]) == 5
    
  • Parameters

    • array: readonly number[]

    Returns null | number

    Max gets the greatest value from a list

    max([ 2, 3, 5]) == 5