import { Reducer } from "https://deno.land/x/rimbu@1.0.2/common/reducer.ts";
const { contains } = Reducer;
Returns a Reducer
that outputs false as long as the given elem
has not been encountered in the input values, true otherwise.
import { Reducer } from "https://deno.land/x/rimbu@1.0.2/common/reducer.ts";
const { contains } = Reducer;
Returns a Reducer
that outputs false as long as the given elem
has not been encountered in the input values, true otherwise.