Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface List<T>

Type parameters

  • T

Hierarchy

Indexable

[key: number]: T

Index

Properties

empty

empty: boolean

length

length: number

Methods

__@iterator

  • __@iterator(): Iterator<T>
  • Returns Iterator<T>

contains

  • contains(e: T): boolean
  • Parameters

    • e: T

    Returns boolean

copy

indexOf

  • indexOf(e: T): number
  • Parameters

    • e: T

    Returns number

lastIndexOf

  • lastIndexOf(e: T): number
  • Parameters

    • e: T

    Returns number

toArray

  • toArray(): Array<T>
  • Returns Array<T>

Generated using TypeDoc