* Count the number of children that are typically specified as * `props.children`. * * @param {?*} children Children tree container. * @return {number} The number of children.
(children, context)
| 4331 | * @return {number} The number of children. |
| 4332 | */ |
| 4333 | function countChildren(children, context) { |
| 4334 | return traverseAllChildren(children, forEachSingleChildDummy, null); |
| 4335 | } |
| 4336 | |
| 4337 | /** |
| 4338 | * Flatten a children object (typically specified as `props.children`) and |
nothing calls this directly
no test coverage detected