Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

NearestToUnitOptions

The nearest unit function options. Used to build function options.

interface NearestToUnitOptions <Unit extends number> {
nearestTo?: Unit;
}

§Type Parameters

§
Unit extends number
[src]

§Properties

§
nearestTo?: Unit
[src]

The nearest unit to round to. E.g. for minutes 15 to round to quarter hours.