Skip to content

subtract

subtract(other): (self) => Duration

Defined in: Types/Duration.ts:89

Subtracts the other Duration from this one.

Duration

(self) => Duration

pipe(Duration.seconds(1), Duration.subtract(Duration.milliseconds(500))); // 500ms