MCPcopy Create free account
hub / github.com/JS-DevTools/ono / hasKey

Function hasKey

test/utils/host.js:82–84  ·  view source on GitHub ↗
(error, key)

Source from the content-addressed store, hash-verified

80}
81
82function hasKey (error, key) {
83 return (key in error) || (error[key] !== undefined);
84}
85
86function isEnumerable (error, key) {
87 let descriptor = Object.getOwnPropertyDescriptor(error, key);

Callers 1

host.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…