Module

x/polkadot/util/format/index.ts>formatElapsed

Package publishing for deno.land/x/polkadot
Go to Latest
function formatElapsed
import { formatElapsed } from "https://dotland.deno.dev/x/polkadot@0.2.35/util/format/index.ts";

Type Parameters

ExtToBn extends ToBn

Parameters

optional
now: Date | null
optional
value:
| bigint
| BN
| Date
| number
| null

Returns

string