Skip to main content
Module

x/ramda/mod.ts>indexOf

:ram: Practical functional Javascript
Latest
variable indexOf
import { indexOf } from "https://deno.land/x/ramda@v0.27.2/mod.ts";

Returns the position of the first occurrence of an item in an array, or -1 if the item is not included in the array. R.equals is used to determine equality.