Indexes items using a JavaScript Map, and ensures uniqueness.

Throws a ConflictException if a duplicate item is added.

Type Parameters

  • In extends number | string

  • Out

Hierarchy

  • Index<In, Out>
    • UniqueHashIndex

Constructors

Properties

Methods

Constructors

Properties

ix: Map<In, Id> = ...

Methods

Generated using TypeDoc