* Flatten a children object (typically specified as `props.children`) and * return an array with appropriately re-keyed children.
(children)
| 4339 | * return an array with appropriately re-keyed children. |
| 4340 | */ |
| 4341 | function toArray(children) { |
| 4342 | var result = []; |
| 4343 | mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument); |
| 4344 | return result; |
| 4345 | } |
| 4346 | |
| 4347 | var ReactChildren = { |
| 4348 | forEach: forEachChildren, |
no test coverage detected