ramped.less_than
v0.2.0
Published
Return true if the second value smaller than the first.
Downloads
3
Readme
Ramped less than
Return true if the second value is 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.less_than --save
Usage
less_than = require('ramped.less_than')
is_less_than_4 = less_than(4)
is_less_than_4(6)
// false
is_less_than_4(4)
// false
is_less_than_4(2)
// true