1.0.0 • Published 5 years ago
totalled v1.0.0
totalled 
Get the sum of all the values in an array.
Install
npm install totalled
Usage
const totalled = require("totalled");
totalled([1, 2, 3]);
//=> 6
API
totalled(array)
array
Type: array<number>
The array to sum.
1.0.0
5 years ago