import { findIndex } from "https://deno.land/x/rambda@v9.1.0/rambda.js";
It returns the index of the first element of list
satisfying the predicate
function.
If there is no such element, then -1
is returned.
import { findIndex } from "https://deno.land/x/rambda@v9.1.0/rambda.js";
It returns the index of the first element of list
satisfying the predicate
function.
If there is no such element, then -1
is returned.