Skip to content

component/range

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

range

Return a range of integers

Installation

$ component install component/range

API

Exclusive range:

range(5, 10);
// => [5,6,7,8,9]

Inclusive range (truthy value):

range(5, 10, true);
range(5, 10, 'inclusive');
// => [5,6,7,8,9,10]

License

MIT

About

Return a range of integers

Resources

Stars

Watchers

Forks

Packages

No packages published