@storm-stack/date-time
Version:
This package includes a DateTime class, various utility functions for working with dates and times, and a number of formatting options.
9 lines (8 loc) • 310 B
TypeScript
import { Temporal } from "@js-temporal/polyfill";
/**
* Type-check to determine if `value` is a `Temporal.Instant` object
*
* @param value - The value to check
* @returns The function isInstant is returning a boolean value.
*/
export declare function isInstant(value: unknown): value is Temporal.Instant;