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

Function readonlyMapPretty

packages/effect/src/Schema.ts:7577–7586  ·  view source on GitHub ↗
(
  key: pretty_.Pretty<K>,
  value: pretty_.Pretty<V>
)

Source from the content-addressed store, hash-verified

7575}
7576
7577const readonlyMapPretty = <K, V>(
7578 key: pretty_.Pretty<K>,
7579 value: pretty_.Pretty<V>
7580): pretty_.Pretty<ReadonlyMap<K, V>> =>
7581(map) =>
7582 `new Map([${
7583 Array.from(map.entries())
7584 .map(([k, v]) => `[${key(k)}, ${value(v)}]`)
7585 .join(", ")
7586 }])`
7587
7588const readonlyMapEquivalence = <K, V>(
7589 key: Equivalence.Equivalence<K>,

Callers

nothing calls this directly

Calls 5

entriesMethod · 0.80
valueFunction · 0.70
joinMethod · 0.65
mapMethod · 0.65
keyFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…