0.2.0 • Published 8 years ago

ramped.at_most v0.2.0

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

Ramped at most

Return true if the second value is the same as or smaller than the first.

Part of the ramped.js collection for functional programming.

Install

To add as a dependency to a Node.js project:

npm i ramped.at_most --save

Usage

at_most = require('ramped.at_most')

is_4_or_less = at_most(4)

is_4_or_less(6)
// false

is_4_or_less(4)
// true

is_4_or_less(2)
// true

Dependencies

License

ISC

0.2.0

8 years ago

0.1.0

8 years ago