MCPcopy
hub / github.com/Effect-TS/effect / foldLeft

Function foldLeft

packages/effect/src/internal/sink.ts:1050–1051  ·  view source on GitHub ↗
(s: S, f: (s: S, input: In) => S)

Source from the content-addressed store, hash-verified

1048
1049/** @internal */
1050export const foldLeft = <S, In>(s: S, f: (s: S, input: In) => S): Sink.Sink<S, In> =>
1051 ignoreLeftover(fold(s, constTrue, f))
1052
1053/** @internal */
1054export const foldLeftChunks = <S, In>(

Callers

nothing calls this directly

Calls 2

ignoreLeftoverFunction · 0.85
foldFunction · 0.85

Tested by

no test coverage detected