(ast: AST)
| 4675 | |
| 4676 | /** @internal */ |
| 4677 | export function isMutable(ast: AST): boolean { |
| 4678 | return ast.context?.isMutable ?? false |
| 4679 | } |
| 4680 | |
| 4681 | function isStructuralCheck(check: Check<any>): boolean { |
| 4682 | return check.annotations?.[InternalAnnotations.STRUCTURAL_ANNOTATION_KEY] === true || |