Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ isWeakKey
Function
isWeakKey
lib/util/WeakTupleMap.js:29–29 ·
view source on GitHub ↗
(thing)
Source
from the content-addressed store, hash-verified
27
* @returns {boolean} true
if
is weak
28
*/
29
const
isWeakKey = (thing) => typeof thing ===
"object"
&& thing !== null;
30
31
/**
32
* Extracts the element
type
from a tuple-like array.
Callers
2
_peek
Method · 0.85
_get
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected