MCPcopy
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 */
29const isWeakKey = (thing) => typeof thing === "object" && thing !== null;
30
31/**
32 * Extracts the element type from a tuple-like array.

Callers 2

_peekMethod · 0.85
_getMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected