MCPcopy Create free account
hub / github.com/node-modules/utility / has

Function has

src/object.ts:25–27  ·  view source on GitHub ↗
(obj: object, prop: string)

Source from the content-addressed store, hash-verified

23}
24
25export function has(obj: object, prop: string) {
26 return Object.prototype.hasOwnProperty.call(obj, prop);
27}
28
29/**
30 * Get all enumerable and ownership of property names

Callers 1

getOwnEnumerablesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected