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

Add more nanoseconds to the duration.

Parameters

n: number

Number of nanoseconds to add.

Returns

The updated duration.