(propValue)
| 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; |
no outgoing calls
no test coverage detected
searching dependent graphs…