MCPcopy Index your code
hub / github.com/microsoft/SandDance / getOwnProperty

Function getOwnProperty

docs/app/js/sanddance-app.js:88100–88102  ·  view source on GitHub ↗
(object, prop)

Source from the content-addressed store, hash-verified

88098 return Object.prototype.hasOwnProperty.call(object, prop);
88099}
88100function getOwnProperty(object, prop) {
88101 return hasOwnProperty(object, prop) && object[prop];
88102}
88103function getComponentName(componentClass) {
88104 var componentName = getOwnProperty(componentClass, "layerName") || getOwnProperty(componentClass, "componentName");
88105 if (!componentName) (0, _logDefault.default).once(0, "".concat(componentClass.name, ".componentName not specified"))();

Callers 3

getPropsPrototypeFunction · 0.70
getComponentNameFunction · 0.70

Calls 1

hasOwnPropertyFunction · 0.70

Tested by

no test coverage detected