import { AsyncReducer } from "https://deno.land/x/rimbu@1.2.0/mod.ts";
const { endsWithSlice } = AsyncReducer;
Returns an AsyncReducer
that returns true if the last input values match the given slice
values repeated amount
times. Otherwise,
returns false.
Returns
AsyncReducer<T, boolean>