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

NearestMinutes

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

Nearest minute type. Goes from 1 to 30, where 1 is the nearest minute and 30 is nearest half an hour.

type NearestMinutes =
| 1
| 2
| 3
| 4
| 5
| 6
| 7
| 8
| 9
| 10
| 11
| 12
| 13
| 14
| 15
| 16
| 17
| 18
| 19
| 20
| 21
| 22
| 23
| 24
| 25
| 26
| 27
| 28
| 29
| 30;

§Type

§
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30
[src]