MCPcopy Create free account
hub / github.com/Lobos/react-ui / getClassName

Function getClassName

docs/lib/react.js:12855–12860  ·  view source on GitHub ↗
(propValue)

Source from the content-addressed store, hash-verified

12853
12854// Returns class name of the object, if any.
12855function getClassName(propValue) {
12856 if (!propValue.constructor || !propValue.constructor.name) {
12857 return ANONYMOUS;
12858 }
12859 return propValue.constructor.name;
12860}
12861
12862module.exports = ReactPropTypes;
12863},{"125":125,"148":148,"60":60,"81":81}],84:[function(_dereq_,module,exports){

Callers 1

validateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…