* Flatten a children object (typically specified as `props.children`) and * return an array with appropriately re-keyed children. * * See https://reactjs.org/docs/react-api.html#react.children.toarray
(children)
| 19301 | * See https://reactjs.org/docs/react-api.html#react.children.toarray |
| 19302 | */ |
| 19303 | function toArray(children) { |
| 19304 | var result = []; |
| 19305 | mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument); |
| 19306 | return result; |
| 19307 | } |
| 19308 | |
| 19309 | /** |
| 19310 | * Returns the first child in a collection of children and verifies that there |
nothing calls this directly
no test coverage detected