Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Noumena-Network/code
/ isSafeIdentifier
Function
isSafeIdentifier
src/tools/REPLTool/javascriptReplFactory.tsx:248–250 ·
view source on GitHub ↗
(name: string)
Source
from the content-addressed store, hash-verified
246
}
247
248
function isSafeIdentifier(name: string): boolean {
249
return /^[$A-Z_a-z][$\w]*$/.test(name)
250
}
251
252
function ensureRuntimeHelpers(
253
replContext: JavascriptReplStoreContext,
Callers
1
call
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected