Skip to main content
Module

x/durationjs/mod.ts>Duration#toWordString

Get the formated time duration
Go to Latest
method Duration.prototype.toWordString
import { Duration } from "https://deno.land/x/durationjs@v4.0.1/mod.ts";

Get a human-readable string of the duration in words.

Parameters

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

The values required to display.

Returns

string

formatted string The formatted string result.