MCPcopy Index your code
hub / github.com/caseywebdev/react-list / getIteratorFn

Function getIteratorFn

docs/index.js:66–72  ·  view source on GitHub ↗
(maybeIterable)

Source from the content-addressed store, hash-verified

64 REACT_LAZY_TYPE = Symbol.for("react.lazy"),
65 MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
66function getIteratorFn(maybeIterable) {
67 if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
68 maybeIterable =
69 (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
70 maybeIterable["@@iterator"];
71 return "function" === typeof maybeIterable ? maybeIterable : null;
72}
73var ReactNoopUpdateQueue = {
74 isMounted: function () {
75 return !1;

Callers 8

mapIntoArrayFunction · 0.85
validateChildKeysFunction · 0.85
createChildFunction · 0.85
updateSlotFunction · 0.85
updateFromMapFunction · 0.85
reconcileChildFibersImplFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…