UNPKG

@js-sugar/date

Version:

A multi-calendar, tree-shakable, extensible, immutable and lightweight date library for JavaScript

14 lines (13 loc) 413 B
/** * @internal * @module */ /** Locale verification result */ export interface LocaleVerificationResult { supported: boolean; resolvedName: string; } /** Does environment have Intl API support */ export declare function hasIntl(): boolean; /** Verifies a locale */ export declare function verifyLocale(name: string | null, strict?: boolean, throwErr?: boolean): LocaleVerificationResult;