MCPcopy Create free account
hub / github.com/PrairieLearn/PrairieLearn / hasProp

Function hasProp

public/javascripts/require.js:79–81  ·  view source on GitHub ↗
(obj, prop)

Source from the content-addressed store, hash-verified

77 }
78
79 function hasProp(obj, prop) {
80 return hasOwn.call(obj, prop);
81 }
82
83 function getOwn(obj, prop) {
84 return hasProp(obj, prop) && obj[prop];

Callers 7

getOwnFunction · 0.85
eachPropFunction · 0.85
mixinFunction · 0.85
onFunction · 0.85
newContextFunction · 0.85
callGetModuleFunction · 0.85
localRequireFunction · 0.85

Calls 1

callMethod · 0.80

Tested by

no test coverage detected