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

Function toCodeDocument

packages/effect/src/SchemaRepresentation.ts:814–816  ·  view source on GitHub ↗
(document: MultiDocument)

Source from the content-addressed store, hash-verified

812 * @since 4.0.0
813 */
814export function toCodeDocument(document: MultiDocument): CodeDocument {
815 return InternalToCodeDocument.toCodeDocument(document)
816}
817
818const RepresentationSchema = Schema.suspend(
819 (): Schema.Codec<Representation, unknown> => RepresentationUnion

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected