function Reducer.toJSSetimport { Reducer } from "https://deno.land/x/rimbu@1.1.0/stream/mod.ts"; const { toJSSet } = Reducer; toJSSet<T>(): Reducer<T, Set<T>>Returns a Reducer that collects received input values into a mutable JS Set, and returns a copy of that map when output is requested. ExamplesExample 1 console.log(Stream.of(1, 2, 3).reduce(Reducer.toJSSet())) // Set {1, 2, 3} Type ParametersTReturnsReducer<T, Set<T>>