Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
10
export
function
isProtectedWeekYearToken(token: string) {
11
return
weekYearTokenRE.test(token);
12
}
13
14
export
function
warnOrThrowProtectedError(
15
token: string,
Callers
2
parse
Function · 0.90
format
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected