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

x/fae/sum.ts>sum

A functional module for Deno inspired from Ramda.
Latest
function sum
import { sum } from "https://deno.land/x/fae@v1.1.1/sum.ts";

Adds together all the elements of a list.

Parameters

list: number[]

Returns

number