Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • KavenCollection

Implements

Index

Constructors

constructor

  • Type parameters

    • T

    Parameters

    • Optional str: string

    Returns KavenCollection<T>

Accessors

Count

  • get Count(): number
  • Returns number

Methods

Add

  • Add(key: string, value: T): boolean
  • Parameters

    • key: string
    • value: T

    Returns boolean

ContainsKey

  • ContainsKey(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

GetValue

  • GetValue(key: string, defaultValue?: T): undefined | T
  • Parameters

    • key: string
    • Optional defaultValue: T

    Returns undefined | T

Keys

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

Remove

  • Remove(key: string): T
  • Parameters

    • key: string

    Returns T

ToString

  • ToString(space?: string | number, replacer?: null | (string | number)[]): string
  • Parameters

    • Optional space: string | number
    • Optional replacer: null | (string | number)[]

    Returns string

Values

  • Values(): T[]

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Class
  • Class with type parameter
  • Method
  • Interface
  • Interface with type parameter
  • Enumeration

Generated using TypeDoc