Interface ArrayConstructor
Hierarchy
- ArrayConstructor
Index
Methods
Methods
from
-
Type parameters
-
T
Parameters
Returns T[]
-
-
Creates an array from an iterable object.
Type parameters
-
T
-
U
Parameters
-
iterable: Iterable<T> | ArrayLike<T>
An iterable object to convert to an array.
-
mapfn: function
A mapping function to call on every element of the array.
-
-
Parameters
-
v: T
-
k: number
Returns U
-
-
-
-
Optional thisArg: any
Value of 'this' used to invoke the mapfn.
Returns U[]
-
Generated using TypeDoc
Creates an array from an iterable object.