Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SymbolWeakMap<V>

Type Parameters

  • V

Hierarchy

  • SymbolWeakMap

Index

Constructors

Properties

Methods

Constructors

Properties

__weakMap: WeakMap<Symbol, V> = ...

Methods

  • delete(symbol: Symbol): boolean
  • get(symbol: Symbol): undefined | V
  • has(symbol: Symbol): boolean
  • set(symbol: Symbol, value: V): boolean
  • set key and value

    Parameters

    • symbol: Symbol

      the key for access

    • value: V

      the value as a cache item

    Returns boolean

    true: succeed to set value, false: not set (already exists)

Generated using TypeDoc