import { Collection } from "https://deno.land/x/revoltio@v1.0.0/src/util/mod.ts";
Searches for the key of a single item where the given function returns a truthy value. This behaves like Array.findIndex(), but returns the key rather than the positional index.
Parameters
fn: () => key is K2
value: V,
key: K,
collection: this,
The function to test with (should return boolean)