MCPcopy
hub / github.com/date-fns/date-fns / isProtectedWeekYearToken

Function isProtectedWeekYearToken

pkgs/core/src/_lib/protectedTokens/index.ts:10–12  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

8}
9
10export function isProtectedWeekYearToken(token: string) {
11 return weekYearTokenRE.test(token);
12}
13
14export function warnOrThrowProtectedError(
15 token: string,

Callers 2

parseFunction · 0.90
formatFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected