import { findLastIndex } from "https://deno.land/x/fae@v1.1.1/findLastIndex.ts";
Returns index of last element of the list which matches the predicate, or
-1
if no element matches.
Acts as a transducer if a transformer is passed in place of list
const xs = [{a: 1}, {a: 2}, {a: 3}]
Fae.find(Fae.propEq('a', 2))(xs) //=> {a: 2}
Fae.find(Fae.propEq('a', 4))(xs) //=> undefined