import { AsyncReducer } from "https://deno.land/x/rimbu@1.2.0/core/mod.ts";
const { equals } = AsyncReducer;
Returns an AsyncReducer
that ouputs true when the received elements match the given other
async stream source according to the eq
instance, false otherwise.
Parameters
other: AsyncStreamSource<T>
- an async stream source containg elements to match against
Returns
AsyncReducer<T, boolean>