craydent.sum

by Clark Inada

Usage no npm install needed!

<script type="module">
  import craydentSum from 'https://cdn.skypack.dev/craydent.sum';
</script>

README

Craydent 0.13.4

by Clark Inada

Craydent is all inclusive utility library. There are several ways to use the library in NodeJS. More detailed documentation on constants can be found at Craydent Properties. More detailed documentation on methods can be found at Craydent Methods

// require - this require is the fully modular version with no global constants, prototypes, or methods.
const sum = require('craydent.sum').default;
// import - this require is the fully modular version with no global constants, prototypes, or methods.
import sum from 'craydent.sum';

sum

Info: Array class extension to perform summation of all the values (any value which is not a number is 0).

Return: (number | NaN) returns the sum of the array of numbers

Parameters:

None

Overloads:

None

Download