MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / isValidElement

Function isValidElement

code/styling/public/app.js:1630–1634  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

1628 0xeac7;
1629
1630 var isValidElement = function(object) {
1631 return typeof object === 'object' &&
1632 object !== null &&
1633 object.$$typeof === REACT_ELEMENT_TYPE;
1634 };
1635
1636 // By explicitly using `prop-types` you are opting into new development behavior.
1637 // http://fb.me/prop-types-in-prod

Callers 5

validateFunction · 0.70
isNodeFunction · 0.70
onlyChildFunction · 0.70
validateChildKeysFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected