Interface ArrayConstructor
Callable
- __call(arrayLength?: number): any[]
- __call<T>(arrayLength: number): T[]
- __call<T>(...items: T[]): T[]
-
Parameters
-
Optional arrayLength: number
Returns any[]
-
Type parameters
Parameters
Returns T[]
-
Type parameters
Parameters
Returns T[]
Constructors
constructor
- new ArrayConstructor(arrayLength?: number): any[]
- new ArrayConstructor<T>(arrayLength: number): T[]
- new ArrayConstructor<T>(...items: T[]): T[]
-
Parameters
-
Optional arrayLength: number
Returns any[]
-
Type parameters
Parameters
Returns T[]
-
Type parameters
Parameters
Returns T[]
Properties
prototype
prototype: Array<any>
Methods
from
- from<T>(arrayLike: ArrayLike<T>): T[]
- from<T, U>(arrayLike: ArrayLike<T>, mapfn: function, thisArg?: any): U[]
-
Type parameters
Parameters
Returns T[]
-
Type parameters
Parameters
-
-
mapfn: function
-
Optional thisArg: any
Returns U[]
of
- of<T>(...items: T[]): T[]
-
Type parameters
Parameters
Returns T[]
Creates an array from an array-like object.