ramped.at_most

0.2.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i ramped.at_most

Weekly Downloads

0

Version

0.2.0

License

ISC

Last publish

Collaborators

  • mattms