Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ulid/javascript
/ inWebWorker
Function
inWebWorker
source/ulid.ts:122–125 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
120
}
121
122
function
inWebWorker(): boolean {
123
// @ts-ignore
124
return
typeof WorkerGlobalScope !==
"undefined"
&& self instanceof WorkerGlobalScope;
125
}
126
127
/**
128
* Check
if
a ULID is valid
Callers
1
detectRoot
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected