(node: Node)
| 832 | |
| 833 | // e.g. `T` for `(T as Type)!` or `T?.and` |
| 834 | export const unwrapChain = (node: Node): Node => { |
| 835 | while (isTransparent(node) || node.type === "ChainExpression") |
| 836 | node = node.expression |
| 837 | return node |
| 838 | } |
| 839 | |
| 840 | // e.g. `T!` and `T!.and` for `T` |
| 841 | export const operatorOf = ( |
no test coverage detected