import { Collection } from "https://deno.land/x/collection@v1.0.1/src/Collection.ts";
Partitions the collection into two collections where the first collection contains the items that passed and the second contains the items that failed.
Examples
const [big, small] = collection.partition(guild => guild.memberCount > 250);
const [big, small] = collection.partition(guild => guild.memberCount > 250);