Type Alias ReadonlyCollection<K, V>

ReadonlyCollection<K, V>: Omit<Collection<K, V>,
    | "delete"
    | "ensure"
    | "forEach"
    | "get"
    | "reverse"
    | "set"
    | "sort"
    | "sweep"> & ReadonlyMap<K, V>

Represents an immutable version of a collection

Type Parameters

  • K
  • V