MCPcopy Index your code
hub / github.com/Effect-TS/effect / getRawDescription

Function getRawDescription

packages/effect/src/JSONSchema.ts:398–400  ·  view source on GitHub ↗
(annotated: AST.Annotated | undefined)

Source from the content-addressed store, hash-verified

396}
397
398function getRawDescription(annotated: AST.Annotated | undefined): string | undefined {
399 if (annotated !== undefined) return Option.getOrUndefined(AST.getDescriptionAnnotation(annotated))
400}
401
402function getRawTitle(annotated: AST.Annotated | undefined): string | undefined {
403 if (annotated !== undefined) return Option.getOrUndefined(AST.getTitleAnnotation(annotated))

Callers 2

getJsonSchemaAnnotationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected