variable Reducer.lastimport { Reducer } from "https://deno.land/x/rimbu@1.1.0/stream/mod.ts"; const { last } = Reducer; Returns a Reducer that remembers the last input value. ExamplesExample 1 console.log(Stream.range{ amount: 10 }).reduce(Reducer.last()) // => 9 type{ <T>(): Reducer<T, T | undefined>; <T, O>(otherwise: OptLazy<O>): Reducer<T, T | O>; }