Skip to main content Link Menu Expand (external link) Document Search Copy Copied

readonlyMapFromEntries overview

Added in v0.5.19


Table of contents


ReadonlyMapFromEntriesC (interface)

Signature

export interface ReadonlyMapFromEntriesC<K extends t.Mixed, V extends t.Mixed>
  extends t.Type<ReadonlyMap<t.TypeOf<K>, t.TypeOf<V>>, ReadonlyArray<[t.OutputOf<K>, t.OutputOf<V>]>, unknown> {}

Added in v0.5.19

readonlyMapFromEntries

Signature

export function readonlyMapFromEntries<K extends t.Mixed, V extends t.Mixed>(
  keyCodec: K,
  KO: Ord<t.TypeOf<K>>,
  valueCodec: V,
  name: string = `ReadonlyMap<${keyCodec.name}, ${valueCodec.name}>`
): ReadonlyMapFromEntriesC<K, V> { ... }

Added in v0.5.19