longest(durations: Temporal.Duration[],options?: Temporal.DurationArithmeticOptions,): Temporal.Duration
Returns the longest of the given durations.
durations: Temporal.Duration[]
array of durations
optional
options: Temporal.DurationArithmeticOptions
the options passed to Temporal.Duration.compare
the longest of the duration