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

Function isValidElement

bundle.js:1020–1022  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

1018 var REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol.for && Symbol.for('react.element') || 0xeac7;
1019
1020 var isValidElement = function isValidElement(object) {
1021 return (typeof object === 'undefined' ? 'undefined' : _typeof(object)) === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
1022 };
1023
1024 // By explicitly using `prop-types` you are opting into new development behavior.
1025 // http://fb.me/prop-types-in-prod

Callers 2

validateFunction · 0.70
isNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected