- max(array): number
Parameters
- array: readonly [number, number]
Returns number
- max(array): number | null
Returns number | null
- max<T>(array, getter): T | null
Parameters
- array: readonly T[]
- getter: ((item) => number)
- (item): number
Returns number
Returns T | null
Max gets the greatest value from a list