import { lastIndexOf } from "https://deno.land/x/rambda@v8.6.0/mod.ts";
It returns the last index of target
in list
array.
R.equals
is used to determine equality between target
and members of list
.
If there is no such index, then -1
is returned.