Skip to main content

slotInstant

The ISO instant a provider names a slot by, such as 2026-11-11T14:30:00Z. Expects a valid slot.

This is a function exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { slotInstant } from "@mapcairn/core";

function slotInstant(value: string): string;

Parameters​

  • value (string)

Returns​

string

Source: packages/core/src/layers/dateTime.ts:56