(l: Keys, r: Keys)
| 47 | key === "length" || (typeof key === "string" && arrayIndexMatcher.test(key)) |
| 48 | |
| 49 | const meet = (l: Keys, r: Keys): boolean => { |
| 50 | if ((l.every && !isEmpty(r)) || (r.every && !isEmpty(l))) return true |
| 51 | if (l.indices && (r.indices || [...r.named].some(isIndexKey))) return true |
| 52 | if (r.indices && [...l.named].some(isIndexKey)) return true |
| 53 | for (const key of l.named) if (r.named.has(key)) return true |
| 54 | return false |
| 55 | } |
| 56 | |
| 57 | const canBeObject = (node: BaseRoot): boolean => |
| 58 | node.overlaps($ark.kw.object.internal) |
no test coverage detected