* 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)
| 18499 | * See https://reactjs.org/docs/react-api.html#react.children.toarray |
| 18500 | */ |
| 18501 | function toArray(children) { |
| 18502 | var result = []; |
| 18503 | mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument); |
| 18504 | return result; |
| 18505 | } |
| 18506 | |
| 18507 | /** |
| 18508 | * Returns the first child in a collection of children and verifies that there |
nothing calls this directly
no test coverage detected