Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/durationjs/src/duration.ts>default#clone

Get the formated time duration
Latest
method default.prototype.clone
import { default } from "https://deno.land/x/durationjs@v4.1.1/src/duration.ts";

Clone current duration (run Duration#reload before this if you manually tweaked the properties).

Returns

cloned duration