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

Function getLefts

packages/effect/src/Iterable.ts:870–870  ·  view source on GitHub ↗
(self: Iterable<Either<R, L>>)

Source from the content-addressed store, hash-verified

868 * @since 2.0.0
869 */
870export const getLefts = <R, L>(self: Iterable<Either<R, L>>): Iterable<L> => filterMap(self, E.getLeft)
871
872/**
873 * Retrieves the `Right` values from an `Iterable` of `Either`s.

Callers

nothing calls this directly

Calls 1

filterMapFunction · 0.85

Tested by

no test coverage detected