0.5.0 • Published 9 years ago

greater-than v0.5.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

greater-than

Build Status NPM version NPM downloads LICENSE

Whether given value or value within an object property is greater than X.

$ npm install greater-than

Usage

greater than primitive value
var minimum = require('greater-than')(10);
var numbers = [1, 5, 6, 9, 25, 33, 44];

var choosen = numbers.filter(minimum);
//=> [25, 33, 44]
greater than object property value
var isNonEmptyArray = require('greater-than')(0, 'length');

Users.active().then(isNonEmptyArray);
//=> true

Debug Logging

DEBUG=greater-than node …

License

MIT

0.5.0

9 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.0

10 years ago