import { Collection } from "https://deno.land/x/revoltio@v1.0.0/src/lib.ts";
Runs a function on the collection and returns the collection.
Examples
collection
.tap(coll => console.log(coll.size))
.filter(user => user.bot)
.tap(coll => console.log(coll.size))
collection .tap(coll => console.log(coll.size)) .filter(user => user.bot) .tap(coll => console.log(coll.size))