Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dallmo_util_math/etc/deps.deno.ts>dallmo_util_array.random_index

deno module, a collection of math util under dallmo-util
Go to Latest
function dallmo_util_array.random_index
import { dallmo_util_array } from "https://deno.land/x/dallmo_util_math@v1.1.0/etc/deps.deno.ts";
const { random_index } = dallmo_util_array;

Parameters

input_array: any[]

Returns

number