method Duration.prototype.toSeconds
Duration.prototype.toSeconds(): Seconds

Converts the duration to seconds.

Return Type

Usage

import { Duration } from ".";