(children)
| 2361 | // with hand-written render functions / JSX. In such cases a full normalization |
| 2362 | // is needed to cater to all possible types of children values. |
| 2363 | function normalizeChildren (children) { |
| 2364 | return isPrimitive(children) |
| 2365 | ? [createTextVNode(children)] |
| 2366 | : Array.isArray(children) |
| 2367 | ? normalizeArrayChildren(children) |
| 2368 | : undefined |
| 2369 | } |
| 2370 | |
| 2371 | function isTextNode (node) { |
| 2372 | return isDef(node) && isDef(node.text) && isFalse(node.isComment) |
no test coverage detected