Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • TValue

Hierarchy

  • Dictionary

Index

Constructors

constructor

  • An implementation of a dictionary. This is really similar to a plain old object in JavaScript except that it's typed for TypeScript.

    class

    Returns Dictionary

Methods

clear

  • clear(): void
  • Returns void

containsKey

  • containsKey(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

get

  • get(key: string): TValue
  • Parameters

    • key: string

    Returns TValue

keys

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

remove

  • remove(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

set

  • set(key: string, value: TValue): void
  • Parameters

    • key: string
    • value: TValue

    Returns void

values

  • values(): TValue[]
  • Returns TValue[]