MCPcopy Index your code
hub / github.com/josdejong/mathjs / hasOwnProperty

Function hasOwnProperty

tools/utils.js:4–6  ·  view source on GitHub ↗
(object, property)

Source from the content-addressed store, hash-verified

2// helper function to safely check whether an object as a property
3// copy from the function in object.js which is ES6
4export function hasOwnProperty (object, property) {
5 return object && Object.hasOwnProperty.call(object, property)
6}

Callers 8

findFactoryNameFunction · 0.90
findKeyFunction · 0.90
approxDeepEqualFunction · 0.90
object.test.jsFile · 0.90
import.test.jsFile · 0.90
Unit.test.jsFile · 0.90
Chain.test.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…