Skip to content

minTime

The minTime() function returns the smallest duration of a tuple of TheTime.

Interactive example

Syntax

typescript
function minTime<
  GenericInput extends AnyTuple<TheTime>
>(input: GenericInput): TheTime

Parameters

  • input: Tuple of durations in TheTime format.

Return value

The minimum duration of the tuple, as a TheTime.

See also

Released under the MIT license.