Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/multiarray/MultiArray.d.ts>default#indexOf

Allow use multiple arrays as one array without create combined one
Latest
method default.prototype.indexOf
import { default } from "https://deno.land/x/multiarray@v0.2.3/MultiArray.d.ts";

Found object from MultiArray and returns its index.

Parameters

obj: T
  • Object to find.

Returns

number

Index of object in MultiArray. If not exist, returns -1.