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

Function needsOwnResponse

packages/platform/src/HttpApiSchema.ts:243–244  ·  view source on GitHub ↗
(ast: AST.AST)

Source from the content-addressed store, hash-verified

241}
242
243const needsOwnResponse = (ast: AST.AST): boolean =>
244 isVoid(ast) || Reflect.ownKeys(extractAnnotations(mergedAnnotations(ast))).length > 0
245
246/** @internal */
247export const UnionUnifyAST = (self: AST.AST, that: AST.AST): AST.AST =>

Callers

nothing calls this directly

Calls 3

mergedAnnotationsFunction · 0.85
isVoidFunction · 0.70
extractAnnotationsFunction · 0.70

Tested by

no test coverage detected