- ArrayConstructor(arrayLength?): any[]
-
Parameters
-
Optional
arrayLength: number
Returns any[]
- ArrayConstructor<T>(arrayLength): T[]
-
Returns T[]
- ArrayConstructor<T>(...items): T[]
-
Returns T[]
Constructors
constructor
- new ArrayConstructor(arrayLength?): any[]
-
Parameters
-
Optional
arrayLength: number
Returns any[]
- new ArrayConstructor<T>(arrayLength): T[]
-
Returns T[]
- new ArrayConstructor<T>(...items): T[]
-
Returns T[]
Properties
Readonly
prototype
prototype: any[]
Methods
from
- from<T>(arrayLike): T[]
-
Returns T[]
- from<T, U>(arrayLike, mapfn, thisArg?): U[]
-
Parameters
-
-
mapfn: ((v, k) => U)
-
Optional
thisArg: any
Returns U[]
- from<T>(iterable): T[]
-
Returns T[]
- from<T, U>(iterable, mapfn, thisArg?): U[]
-
Parameters
-
-
mapfn: ((v, k) => U)
-
Optional
thisArg: any
Returns U[]
isArray
- isArray(arg): arg is any[]
-
Returns arg is any[]
of
- of<T>(...items): T[]
-
Returns T[]
Creates an array from an array-like object.