MCPcopy Create free account
hub / github.com/plotly/dash / isValidElement

Function isValidElement

dash/deps/react@18.2.0.js:947–949  ·  view source on GitHub ↗

* Verifies the object is a ReactElement. * See https://reactjs.org/docs/react-api.html#isvalidelement * @param {?object} object * @return {boolean} True if `object` is a ReactElement. * @final

(object)

Source from the content-addressed store, hash-verified

945 */
946
947 function isValidElement(object) {
948 return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
949 }
950
951 var SEPARATOR = '.';
952 var SUBSEPARATOR = ':';

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…