Constructors
constructor
-
Type parameters
Returns T[]
Accessors
length
- get length(): number
- set length(value: number): any
-
Returns number
-
Parameters
Returns any
Methods
fill
- fill(object: T): T
- fill(object: T): T
-
Parameters
Returns T
-
Parameters
Returns T
includes
- includes(object: T): boolean
-
Parameters
Returns boolean
indexOf
- indexOf(object: T): number
-
Parameters
Returns number
lastIndexOf
- lastIndexOf(object: T): number
-
Parameters
Returns number
push
- push(...object: T[]): number
-
Parameters
Returns number
slice
- slice(): T[]
- slice(begin: number, end: number): T[]
- slice(begin: number, end: number): T[]
-
Returns T[]
-
Parameters
-
begin: number
-
end: number
Returns T[]
-
Parameters
-
begin: number
-
end: number
Returns T[]
sort
- sort(comparator: (objectA: T, objectB: T) => number): T[]
-
Parameters
-
comparator: (objectA: T, objectB: T) => number
-
- (objectA: T, objectB: T): number
-
Parameters
Returns number
Returns T[]
splice
- splice(index: number, count: number): T[]
-
Parameters
-
index: number
-
count: number
Returns T[]