Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
method default.prototype.toDescriptiveString
import { default } from "https://deno.land/x/durationjs@v4.1.1/src/duration.ts";

Get a formatted, human-readable string of the duration.

Parameters

optional
values: string[] | null = [UNSUPPORTED]

The values required to display.

Returns

string

formatted string The formatted string result.