Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/immutable-js/immutable-js
/ isProtoKey
Function
isProtoKey
src/utils/protoInjection.ts:1–5 ·
view source on GitHub ↗
(key: unknown)
Source
from the content-addressed store, hash-verified
1
export
function
isProtoKey(key: unknown): boolean {
2
return
(
3
typeof key ===
'string'
&& (key ===
'__proto__'
|| key ===
'constructor'
)
4
);
5
}
Callers
5
toJS
Function · 0.90
shallowCopy
Function · 0.90
toObject
Function · 0.90
set
Function · 0.90
mergeWithSources
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected