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

Function readonlySetPretty

packages/effect/src/Schema.ts:7775–7776  ·  view source on GitHub ↗
(item: pretty_.Pretty<A>)

Source from the content-addressed store, hash-verified

7773 }
7774
7775const readonlySetPretty = <A>(item: pretty_.Pretty<A>): pretty_.Pretty<ReadonlySet<A>> => (set) =>
7776 `new Set([${Array.from(set.values()).map((a) => item(a)).join(", ")}])`
7777
7778const readonlySetEquivalence = <A>(
7779 item: Equivalence.Equivalence<A>

Callers

nothing calls this directly

Calls 4

itemFunction · 0.85
joinMethod · 0.65
mapMethod · 0.65
valuesMethod · 0.45

Tested by

no test coverage detected