Options
All
  • Public
  • Public/Protected
  • All
Menu

Generic list interface for use in generated code.

Type parameters

  • T

Hierarchy

  • Array<T>
    • IList

Index

Methods

  • clear(): T[]
  • Returns T[]

  • find(predicate: (item: T, index: number, array: T[]) => boolean, thisArg?: any, fromIndex?: number): undefined | T
  • Parameters

    • predicate: (item: T, index: number, array: T[]) => boolean
        • (item: T, index: number, array: T[]): boolean
        • Parameters

          • item: T
          • index: number
          • array: T[]

          Returns boolean

    • Optional thisArg: any
    • Optional fromIndex: number

    Returns undefined | T

  • remove(value: T): boolean
  • Parameters

    • value: T

    Returns boolean

  • replace(newItems: T[]): T[]
  • Parameters

    • newItems: T[]

    Returns T[]

Generated using TypeDoc