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

Function getRawTitle

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

Source from the content-addressed store, hash-verified

400}
401
402function getRawTitle(annotated: AST.Annotated | undefined): string | undefined {
403 if (annotated !== undefined) return Option.getOrUndefined(AST.getTitleAnnotation(annotated))
404}
405
406function getRawDefault(annotated: AST.Annotated | undefined): Option.Option<unknown> {
407 if (annotated !== undefined) return AST.getDefaultAnnotation(annotated)

Callers 2

getJsonSchemaAnnotationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected