@thi.ng/transducers
Version:
Collection of ~170 lightweight, composable transducers, reducers, generators, iterators for functional data transformations
10 lines • 334 B
TypeScript
import type { Reducer } from "./api.js";
/**
* Reducer which concatenates inputs into a string, each value separated by
* `sep` (default: "").
*
* @param sep
*/
export declare function str(sep?: string): Reducer<any, string>;
export declare function str(sep: string, src: Iterable<any>): string;
//# sourceMappingURL=str.d.ts.map