(propValue)
| 30988 | |
| 30989 | // Returns class name of the object, if any. |
| 30990 | function getClassName(propValue) { |
| 30991 | if (!propValue.constructor || !propValue.constructor.name) { |
| 30992 | return ANONYMOUS; |
| 30993 | } |
| 30994 | return propValue.constructor.name; |
| 30995 | } |
| 30996 | |
| 30997 | ReactPropTypes.checkPropTypes = checkPropTypes; |
| 30998 | ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache; |