MCPcopy Create free account
hub / github.com/plotly/dash / getClassName

Function getClassName

dash/deps/prop-types@15.8.1.js:771–776  ·  view source on GitHub ↗
(propValue)

Source from the content-addressed store, hash-verified

769
770 // Returns class name of the object, if any.
771 function getClassName(propValue) {
772 if (!propValue.constructor || !propValue.constructor.name) {
773 return ANONYMOUS;
774 }
775 return propValue.constructor.name;
776 }
777
778 ReactPropTypes.checkPropTypes = checkPropTypes;
779 ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;

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…