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

Function compact

packages/effect/src/internal/hashMap.ts:527–527  ·  view source on GitHub ↗
(self: HM.HashMap<K, Option.Option<A>>)

Source from the content-addressed store, hash-verified

525
526/** @internal */
527export const compact = <K, A>(self: HM.HashMap<K, Option.Option<A>>) => filterMap(self, identity)
528
529/** @internal */
530export const filterMap = Dual.dual<

Callers

nothing calls this directly

Calls 1

filterMapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…