MCPcopy Create free account
hub / github.com/caseywebdev/react-list / mapChildren

Function mapChildren

docs/index.js:303–311  ·  view source on GitHub ↗
(children, func, context)

Source from the content-addressed store, hash-verified

301 return invokeCallback;
302}
303function mapChildren(children, func, context) {
304 if (null == children) return children;
305 var result = [],
306 count = 0;
307 mapIntoArray(children, result, "", "", function (child) {
308 return func.call(context, child, count++);
309 });
310 return result;
311}
312function lazyInitializer(payload) {
313 if (-1 === payload._status) {
314 var ctor = payload._result;

Callers 1

index.jsFile · 0.85

Calls 1

mapIntoArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…