( branch: BaseRoot, disjoint: Disjoint, check: UndeclaredKeyCheck )
| 2790 | } |
| 2791 | |
| 2792 | const everyEntryAtUndeclaredKey = ( |
| 2793 | branch: BaseRoot, |
| 2794 | disjoint: Disjoint, |
| 2795 | check: UndeclaredKeyCheck |
| 2796 | ): boolean => |
| 2797 | disjoint.length > 0 && |
| 2798 | disjoint.every(entry => entryAtUndeclaredKey(branch, entry, 0, check)) |
| 2799 | |
| 2800 | // follows an entry's path through the props a node declares to the first key it |
| 2801 | // doesn't, where check decides |
no test coverage detected