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

Function getStatusSuccessAST

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

Source from the content-addressed store, hash-verified

188 * @category reflection
189 */
190export const getStatusSuccessAST = (ast: AST.AST): number => getStatus(ast, isVoid(ast) ? 204 : 200)
191
192/**
193 * @since 1.0.0

Callers 1

getStatusSuccessFunction · 0.85

Calls 2

getStatusFunction · 0.85
isVoidFunction · 0.70

Tested by

no test coverage detected