(vnode: VNode)
| 164 | } |
| 165 | |
| 166 | export function readVNodeKey(vnode: VNode): string | undefined { |
| 167 | const props = vnode.props as Readonly<{ key?: unknown }> | undefined; |
| 168 | const key = props?.key; |
| 169 | return typeof key === "string" ? key : undefined; |
| 170 | } |
| 171 | |
| 172 | export function isContainerVNode(vnode: VNode): boolean { |
| 173 | return ( |
no outgoing calls
no test coverage detected