memoize-weak-decorator
Options
All
  • Public
  • Public/Protected
  • All
Menu

Provides Map-like interface that uses Map for primitive keys and WeakMap for non-primitive keys.

Type parameters

  • K

  • V

Hierarchy

  • MeekMap

Index

Properties

Methods

Properties

map

map: Map<any, V> = new Map<any, V>()

weakMap

weakMap: WeakMap<any, V> = new WeakMap<any, V>()

Methods

get

  • get(key: K): V | undefined
  • Parameters

    • key: K

    Returns V | undefined

has

  • has(key: K): boolean

set

  • set(key: K, value: 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