4.0.0 • Published 7 years ago
starry.sum v4.0.0
Member of the starry suite—modular functions for iterable objects.
Status
Applies to the whole suite.
Usage
function sum(
iterable: Iterable<number>
): number
Adds the elements of iterable
.
Parameters:
- iterable -
Iterable<number>
Returns: number