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

Function encode

packages/effect/src/encoding/Csv.ts:975–976  ·  view source on GitHub ↗
(options?: EncodeOptions)

Source from the content-addressed store, hash-verified

973 Done
974 >
975} = <IE, Done>(options?: EncodeOptions) =>
976 Channel.map(encodeRecords<unknown, IE, Done>(options), (texts) => Arr.of(textEncoder.encode(texts.join(""))))
977
978// Struct schemas encode by their encoded keys in declaration order. Tuple and
979// array schemas encode by position. Other schemas, including records with

Callers 1

encodeSchemaRecordsFunction · 0.70

Calls 5

encodeRecordsFunction · 0.85
encodeMethod · 0.80
ofMethod · 0.65
mapMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected