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 | SerializedTheTime>
>(input: GenericInput): TheTime

Parameters ​

  • input: Tuple of TheTime or SerializedTheTime values.

Return value ​

The minimum duration of the tuple, as a TheTime.

See also ​

Released under the MIT license.