ramped.more_than
v0.2.0
Published
Return true if the second value is bigger than the first.
Downloads
5
Readme
Ramped more than
Return true if the second value is bigger 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.more_than --save
Usage
more_than = require('ramped.more_than')
is_more_than_4 = more_than(4)
is_more_than_4(6)
// true
is_more_than_4(4)
// false
is_more_than_4(2)
// false