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

NearestHours

import type { NearestHours } from "https://esm.sh/v135/date-fns@3.6.0/index.d.mts";

Nearest hour type. Goes from 1 to 12, where 1 is the nearest hour and 12 is nearest half a day.

type NearestHours =
| 1
| 2
| 3
| 4
| 5
| 6
| 7
| 8
| 9
| 10
| 11
| 12;

§Type

§
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12
[src]