Repository URL to install this package:
|
Version:
6.0.4 ▾
|
interface MapFunction<FunctorWithValue, ReturnValue> {
(fn: FunctorWithValue): ReturnValue;
}
/**
* @desc `while (index < list.length) push fn(list[index++])`
* @name _map
* @alias baseMaps
* @since 5.0.0-beta.1
* @memberOf loop
*
* {@link https://github.com/ramda/ramda/blob/master/src/internal/_map.js ramda-_map}
* @see {@link ramda-_map}
*
* @param fn function to apply
* @param functorList function/list
*/
declare function map<FunctorWithValue, ReturnValue>(fn: FunctorWithValue, functor: MapFunction<FunctorWithValue, ReturnValue> | MapFunction<FunctorWithValue, ReturnValue>[]): ReturnValue[];
export default map;