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

Provides a multi-dimensional Map-like interface

Type parameters

  • T

Hierarchy

  • HyperMap

Index

Properties

map_numArgs_cache

map_numArgs_cache: Map<number, MeekMap<any, any>> = new Map<number, MeekMap<any, any>>()

Methods

get

  • get(args: any[]): T | undefined
  • Parameters

    • args: any[]

    Returns T | undefined

getCache

  • getCache(numArgs: number): MeekMap<any, any>

has

  • has(args: any[]): boolean
  • Parameters

    • args: any[]

    Returns boolean

set

  • set(args: any[], value: T): void
  • Parameters

    • args: any[]
    • value: T

    Returns void

traverse

  • traverse(cache: MeekMap<any, any>, keys: any[], value?: T): T | undefined
  • Parameters

    • cache: MeekMap<any, any>
    • keys: any[]
    • Optional value: T

    Returns T | undefined

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