Skip to content

parseDuration

parseDuration(value): number

Defined in: packages/core/src/handles.ts:44

Turns a Duration into milliseconds.

Duration

number

If a number is negative or not finite, or the text is not a duration.