Search
Preparing search index...
The search index is not available
ezyVet Javascript Helper Library Documentation
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
src/arrays/sum
Module src/arrays/sum
Index
Functions
sum
Functions
Const
sum
sum
(
array
:
Array
<
number
>
)
:
number
Computes the sum of the values in array.
example
sum([1, 2, 3, 4]); // return 10
Parameters
array:
Array
<
number
>
Returns
number
Globals
src/arrays/sum
sum
Generated using
TypeDoc
Computes the sum of the values in array.
sum([1, 2, 3, 4]); // return 10