MCPcopy Create free account
hub / github.com/Effect-TS/effect / isMutable

Function isMutable

packages/effect/src/SchemaAST.ts:4677–4679  ·  view source on GitHub ↗
(ast: AST)

Source from the content-addressed store, hash-verified

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

Callers 1

updateContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected