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

Function formatIsMutable

packages/effect/src/SchemaAST.ts:3012–3014  ·  view source on GitHub ↗
(isMutable: boolean | undefined)

Source from the content-addressed store, hash-verified

3010], "anyOf")
3011
3012function formatIsMutable(isMutable: boolean | undefined): string {
3013 return isMutable ? "" : "readonly "
3014}
3015
3016function formatIsOptional(isOptional: boolean | undefined): string {
3017 return isOptional ? "?" : ""

Callers 1

getExpectedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected