MCPcopy
hub / github.com/layabox/LayaAir-v1 / classHas

Function classHas

src/plugins/autotest/bin/h5/laya.js:59–63  ·  view source on GitHub ↗
(name,o)

Source from the content-addressed store, hash-verified

57 __hasOwnProperty:function(name,o){
58 o=o ||this;
59 function classHas(name,o){
60 if(Object.hasOwnProperty.call(o.prototype,name)) return true;
61 var s=o.prototype.__super;
62 return s==null?null:classHas(name,s);
63 }
64 return (Object.hasOwnProperty.call(o,name)) || classHas(name,o.__class);
65 },
66 __typeof:function(o,value){

Callers 1

laya.jsFile · 0.70

Calls 1

callMethod · 0.65

Tested by

no test coverage detected