Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • K

  • V

Hierarchy

  • ImmuMap

Implements

Index

Constructors

constructor

  • new ImmuMap(entries?: ReadonlyArray<[K, V]> | Iterable<[K, V]>, hash?: Hash): ImmuMap

Accessors

size

size:

Methods

__@iterator

  • __@iterator(): IterableIterator<Object>

clear

delete

entries

  • entries(): IterableIterator<Object>

forEach

  • forEach(callbackfn: function, thisArg?: any): void
  • Parameters

    • callbackfn: function
        • (value: V, key: K, map: ReadonlyMap<K, V>): void
        • Parameters

          • value: V
          • key: K
          • map: ReadonlyMap<K, V>

          Returns void

    • Optional thisArg: any

    Returns void

get

  • get(key: K): undefined | V

has

  • has(key: K): boolean

keys

  • keys(): IterableIterator<K>

set

  • set(key: K, value: V): ImmuMap<K, V>

toJSON

  • toJSON(): object

values

  • values(): IterableIterator<V>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc