* Count the number of children that are typically specified as * `props.children`. * * See https://reactjs.org/docs/react-api.html#react.children.count * * @param {?*} children Children tree container. * @return {number} The number of children.
(children, context)
| 19256 | * @return {number} The number of children. |
| 19257 | */ |
| 19258 | function countChildren(children, context) { |
| 19259 | return traverseAllChildren(children, emptyFunction.thatReturnsNull, null); |
| 19260 | } |
| 19261 | |
| 19262 | /** |
| 19263 | * Flatten a children object (typically specified as `props.children`) and |
nothing calls this directly
no test coverage detected