(u: any)
| 12 | } |
| 13 | |
| 14 | export function recursiveDescend(startNode: GeneralValue, selector: (node: GeneralValue) => GeneralValue | undefined, collector: GeneralValue[] = []) { |
| 15 | // special treatment if it is an array |
| 16 | if (Array.isArray(startNode) && startNode.length > 0) { |
| 17 | for (const node of startNode) { |
| 18 | recursiveDescend(node, selector, collector); |
| 19 | } |
nothing calls this directly
no outgoing calls
no test coverage detected