Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dallmo_util_array/etc/deps.ts

deno module, a collection of array util under dallmo-util
Latest
import * as dallmoUtilArray from "https://deno.land/x/dallmo_util_array@v1.3.0/etc/deps.ts";

Functions

Make an assertion, error will be thrown if expr does not have truthy value.

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

Executes a function, expecting it to throw. If it does not, then it throws.

given a number, return a string with leading zero in specified output_length by char count

given 2 integers, return an random integer in between, inclusive.

given an input number ( input_num ), and the min and max value of each section, this function divide the input number into random sections, with the requirement that the sum of all sections equal to the input number, and return the result as an array

test connecting to this child module from parent