Skip to content

timeMax

timeMax() returns the largest duration in a list (wrapped or DDate.TheTime).

Interactive example

Syntax

Classic signature

typescript
function timeMax(input: AnyTuple<Time | TheTime>): Time

Parameters

  • input: durations to compare (at least one).

Return value

A wrapped Time containing the largest duration.

See also

Released under the MIT license.