- map<T extends any[] | []>(collection: T): Promise<Tuple<T>>
Returns Promise<Tuple<T>>
- map<T, R = any>(
collection: ArrayLike<T>,
iteratee?: ArrayIteratee<T, Promise<R>>,
): Promise<R[]> Parameters
- collection: ArrayLike<T>
Optional
iteratee: ArrayIteratee<T, Promise<R>>
Returns Promise<R[]>
- map<T, R = any>(
collection: Record<string, T>,
iteratee?: RecordIteratee<T, Promise<R>>,
): Promise<R[]> Parameters
- collection: Record<string, T>
Optional
iteratee: RecordIteratee<T, Promise<R>>
Returns Promise<R[]>
- map(collection: any, iteratee?: any): Promise<any[]>
Parameters
- collection: any
Optional
iteratee: any
Returns Promise<any[]>
AsyncUtils.map, mapping values with async iteratee functions