Home > @wixc3/common > map
Map iterable elements
Signature:
export declare function map<S, T>(iterable: Nullable<Iterable<S>>, mapFn: Mapping<S, T>): Iterable<T>;
Parameter | Type | Description |
---|---|---|
iterable | [Nullable](/core3-utils/common.nullable.html)<Iterable<S>> | |
mapFn | [Mapping](/core3-utils/common.mapping.html)<S, T> |
Returns:
Iterable<T>