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

Function isValidElement

code/communication/public/app.js:1665–1669  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

1663 0xeac7;
1664
1665 var isValidElement = function(object) {
1666 return typeof object === 'object' &&
1667 object !== null &&
1668 object.$$typeof === REACT_ELEMENT_TYPE;
1669 };
1670
1671 // By explicitly using `prop-types` you are opting into new development behavior.
1672 // 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