Skip to main content
Version: 6.4

IdentityMap

Index

Constructors

constructor

Methods

[iterator]

  • [iterator](): IterableIterator<Partial<any>, any, any>
  • Returns IterableIterator<Partial<any>, any, any>

clear

  • clear(): void
  • Returns void

delete

  • delete(item: T): void
  • Parameters

    • item: T

    Returns void

get

  • get(hash: string): undefined | T
  • For back compatibility only.


    Parameters

    • hash: string

    Returns undefined | T

getByHash

getStore

keys

  • keys(): string[]
  • Returns string[]

store

  • store(item: T): void
  • Parameters

    • item: T

    Returns void

values

  • values(): Partial<any>[]
  • Returns Partial<any>[]