(node: AstNode)
| 560 | * Determines if the given AST node is a collection predicate. |
| 561 | */ |
| 562 | export function isCollectionPredicate(node: AstNode): node is BinaryExpr { |
| 563 | return isBinaryExpr(node) && ['?', '!', '^'].includes(node.operator); |
| 564 | } |
| 565 | |
| 566 | /** |
| 567 | * Gets all data models and type defs from the given documents registry. |
no test coverage detected