Returns the total of data. Undefined and non-numbers are silently ignored.
data
import { Numbers } from 'https://unpkg.com/ixfx/dist/numbers.js';Numbers.total([1, 2, 3]); // 6 Copy
import { Numbers } from 'https://unpkg.com/ixfx/dist/numbers.js';Numbers.total([1, 2, 3]); // 6
Array of numbers
Total
Returns the total of
data
. Undefined and non-numbers are silently ignored.