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

Function isMutable

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

Source from the content-addressed store, hash-verified

3647
3648/** @internal */
3649export function isMutable(ast: AST): boolean {
3650 return ast.context?.isMutable ?? false
3651}
3652
3653function isStructuralCheck(check: Check<any>): boolean {
3654 return check.annotations?.[InternalAnnotations.STRUCTURAL_ANNOTATION_KEY] === true ||

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected