SmartArrayNoDuplicate<T>

Type parameters

  • T

Hierarchy

Indexable

[index: number]: T

Index

Constructors

constructor

Properties

data

data: Array<T>

length

length: number

Methods

concat

  • concat(array: any): void

concatWithNoDuplicate

  • concatWithNoDuplicate(array: any): void
  • Parameters

    • array: any

    Returns void

contains

  • contains(value: T): boolean

dispose

  • dispose(): void

forEach

  • forEach(func: function): void
  • Parameters

    • func: function
        • (content: T): void
        • Parameters

          • content: T

          Returns void

    Returns void

indexOf

  • indexOf(value: T): number

push

  • push(value: T): void

pushNoDuplicate

  • pushNoDuplicate(value: T): boolean
  • Parameters

    • value: T

    Returns boolean

reset

  • reset(): void

sort

  • sort(compareFn: function): void
  • Parameters

    • compareFn: function
        • (a: T, b: T): number
        • Parameters

          • a: T
          • b: T

          Returns number

    Returns void

Generated using TypeDoc