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