Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

yields/reduce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reduce

reduce anything

Installation

Install with component(1):

$ component install yields/reduce

Example

assert(3 == reduce({ a: 1, b: 2 }, sum, 0));
assert(3 == reduce([1, 2], sum, 0));
assert(198 == reduce('abc', sum, 0));

License

MIT

About

reduce anything

Resources

Stars

Watchers

Forks

Packages

No packages published