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

x/dallmo_util_array/mod.ts>add_all

deno module, a collection of array util under dallmo-util
Latest
function add_all
import { add_all } from "https://deno.land/x/dallmo_util_array@v1.3.0/mod.ts";

accepts a number array, add them all up and return the sum

Parameters

input_array: number[]

Returns

number

add all number in an number array