Interface ArrayConstructor
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.