MCPcopy Create free account
hub / github.com/Lucifier129/react-lite / getClassName

Function getClassName

examples/simple/react.js:12768–12773  ·  view source on GitHub ↗
(propValue)

Source from the content-addressed store, hash-verified

12766
12767// Returns class name of the object, if any.
12768function getClassName(propValue) {
12769 if (!propValue.constructor || !propValue.constructor.name) {
12770 return '<<anonymous>>';
12771 }
12772 return propValue.constructor.name;
12773}
12774
12775module.exports = ReactPropTypes;
12776},{"114":114,"135":135,"52":52,"72":72}],75:[function(_dereq_,module,exports){

Callers 1

validateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected