Skip to main content
Module

x/dallmo_util_math/mod.ts>random_integer_array

deno module, a collection of math util under dallmo-util
Latest
function random_integer_array
import { random_integer_array } from "https://deno.land/x/dallmo_util_math@v1.2.0/mod.ts";

this function returns a number array with the given size, and each item a random integer

Parameters

size: number
  • size of array
min: number
  • min value of each random integer
max: number
  • max value of each random integer

Returns

number[]