Skip to main content
Module

x/durationjs/mod.ts>Duration#setMicroseconds

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

Set microseconds of the duration.

Parameters

n: number

Number of microseconds to set.

Returns

The updated duration.