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

Function isAnnotation

packages/tools/ai-codegen/src/Generator.ts:258–258  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

256])
257
258const isAnnotation = (key: string): boolean => annotationKeys.has(key) || key.startsWith("x-")
259
260const pick = (js: JsonSchema.JsonSchema, predicate: (key: string) => boolean): JsonSchema.JsonSchema =>
261 Record.filter(js, (_, key) => predicate(key))

Callers 4

bareChoiceFunction · 0.85
rewriteNullableFunction · 0.85
isPlainObjectFunction · 0.85
acceptsNullFunction · 0.85

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected