Skip to main content
Module

x/durationjs/mod.ts>Duration#addNanoseconds

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

Add more nanoseconds to the duration.

Parameters

n: number

Number of nanoseconds to add.

Returns

The updated duration.