(ast: AST)
| 4670 | * @since 4.0.0 |
| 4671 | */ |
| 4672 | export function isOptional(ast: AST): boolean { |
| 4673 | return ast.context?.isOptional ?? false |
| 4674 | } |
| 4675 | |
| 4676 | /** @internal */ |
| 4677 | export function isMutable(ast: AST): boolean { |
no outgoing calls
no test coverage detected