(node: AstNode)
| 553 | |
| 554 | // TODO: move to policy plugin |
| 555 | export function isBeforeInvocation(node: AstNode) { |
| 556 | return isInvocationExpr(node) && node.function.ref?.name === 'before'; |
| 557 | } |
| 558 | |
| 559 | /** |
| 560 | * Determines if the given AST node is a collection predicate. |
no test coverage detected