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

Function toArray

bundle.js:2220–2224  ·  view source on GitHub ↗

* Flatten a children object (typically specified as `props.children`) and * return an array with appropriately re-keyed children. * * See https://facebook.github.io/react/docs/react-api.html#react.children.toarray

(children)

Source from the content-addressed store, hash-verified

2218 * See https://facebook.github.io/react/docs/react-api.html#react.children.toarray
2219 */
2220 function toArray(children) {
2221 var result = [];
2222 mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument);
2223 return result;
2224 }
2225
2226 var ReactChildren = {
2227 forEach: forEachChildren,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected