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

Function getEncoding

packages/platform/src/HttpApiSchema.ts:137–138  ·  view source on GitHub ↗
(ast: AST.AST, fallback = encodingJson)

Source from the content-addressed store, hash-verified

135 * @category annotations
136 */
137export const getEncoding = (ast: AST.AST, fallback = encodingJson): Encoding =>
138 getAnnotation<Encoding>(ast, AnnotationEncoding) ?? fallback
139
140/**
141 * @since 1.0.0

Callers

nothing calls this directly

Calls 1

getAnnotationFunction · 0.85

Tested by

no test coverage detected