import { Collection } from "https://deno.land/x/revoltio@v1.0.0/src/lib.ts";
Identical to Array.filter(), but returns a Collection instead of an Array.
Parameters
fn: () => key is K2
value: V,
key: K,
collection: this,
The function to test with (should return boolean)
Returns
Collection<K2, V>
Parameters
fn: () => value is V2
value: V,
key: K,
collection: this,
Returns
Collection<K, V2>