MCPcopy Create free account
hub / github.com/danielstocks/react-sortable / getClassName

Function getClassName

bundle.js:9534–9539  ·  view source on GitHub ↗
(propValue)

Source from the content-addressed store, hash-verified

9532
9533 // Returns class name of the object, if any.
9534 function getClassName(propValue) {
9535 if (!propValue.constructor || !propValue.constructor.name) {
9536 return ANONYMOUS;
9537 }
9538 return propValue.constructor.name;
9539 }
9540
9541 ReactPropTypes.checkPropTypes = checkPropTypes;
9542 ReactPropTypes.PropTypes = ReactPropTypes;

Callers 1

validateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected