import { Reducer } from "https://deno.land/x/rimbu@1.2.1/core/mod.ts";
const { constant } = Reducer;
Returns a Reducer
that always outputs the given value
, and does not accept input values.
import { Reducer } from "https://deno.land/x/rimbu@1.2.1/core/mod.ts";
const { constant } = Reducer;
Returns a Reducer
that always outputs the given value
, and does not accept input values.