UNPKG

@thi.ng/transducers

Version:

Collection of ~170 lightweight, composable transducers, reducers, generators, iterators for functional data transformations

8 lines 295 B
import type { Reducer } from "./api.js"; /** * Reducer which returns the value with the smallest magnitude, regardless of * sign. */ export declare function minMag(): Reducer<number, number>; export declare function minMag(src: Iterable<number>): number; //# sourceMappingURL=min-mag.d.ts.map