Type aliases
CallBackMap
CallBackMap: function
Type declaration
-
- (value: T, index?: undefined | number, collection?: T[]): Promise<R>
-
Parameters
-
value: T
-
Optional index: undefined | number
-
Optional collection: T[]
Returns Promise<R>
Functions
map
- map<T, R>(elements: T[], cb: CallBackMap<T, R>): Promise<R[]>
-
Type parameters
Parameters
Returns Promise<R[]>
returns any type values