- from<TSource, TResult>(source, selector?, thisArg?): Iterable<TResult>
-
Type Parameters
-
TSource
-
TResult = TSource
Parameters
-
source: Iterable<TSource> | Iterator<TSource, any, undefined> | ArrayLike<TSource>
-
selector: ((value, index) => TResult) = identity
-
- (value, index): TResult
-
Parameters
-
value: TSource
-
index: number
Returns TResult
-
Optional
thisArg: any
Returns Iterable<TResult>
Nocollapse