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

Function MapFromSelf

packages/effect/src/Schema.ts:7665–7668  ·  view source on GitHub ↗
({ key, value }: {
  readonly key: K
  readonly value: V
})

Source from the content-addressed store, hash-verified

7663 * @since 3.10.0
7664 */
7665export const MapFromSelf = <K extends Schema.Any, V extends Schema.Any>({ key, value }: {
7666 readonly key: K
7667 readonly value: V
7668}): MapFromSelf<K, V> => mapFromSelf_(key, value, `Map<${format(key)}, ${format(value)}>`) as any
7669
7670/**
7671 * @category api interface

Callers 2

mapFunction · 0.70
MapFromRecordFunction · 0.70

Calls 2

mapFromSelf_Function · 0.85
formatFunction · 0.70

Tested by

no test coverage detected