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

x/dallmo_util_array/app.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/app.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