import { AsyncReducer } from "https://deno.land/x/rimbu@1.0.3/core/main/exports.ts";
const { join } = AsyncReducer;
Returns a Reducer
that joins the given input values into a string using the given options.
Examples
Example 1
Example 1
console.log(Stream.of(1, 2, 3).reduce(Reducer.join({ sep: '-' })))
// => '1-2-3'
Returns
AsyncReducer<T, string>