How to use the lt function from ramda
Find comprehensive JavaScript ramda.lt code examples handpicked from public code repositorys.
2210 2211 2212 2213 2214 2215 2216 2217 2218 2219
* @category Relation * @sig Ord a => a -> a -> Boolean * @param {*} a * @param {*} b * @return {Boolean} * @see R.lt * @example * * R.gt(2, 1); //=> true * R.gt(2, 2); //=> false
0
0
0
+ 107 other calls in file
GitHub: dqmmpb/define-demos
595 596 597 598 599 600 601 602 603 604 605 606
var pred = R.where({ a: R.equals('foo'), b: R.complement(R.equals('bar')), x: R.gt(R.__, 10), y: R.lt(R.__, 20) }); log(pred({a: 'foo', b: 'xxx', x: 11, y: 19})); log(pred({a: 'xxx', b: 'xxx', x: 11, y: 19}));
0
0
0
+ 9 other calls in file
1269 1270 1271 1272 1273 1274 1275 1276 1277 1278
* @return {Function} a function that applies its arguments to `f` and `g` and `&&`s their outputs together. * @see R.and * @example * * const gt10 = R.gt(R.__, 10) * const lt20 = R.lt(R.__, 20) * const f = R.both(gt10, lt20); * f(15); //=> true * f(30); //=> false *
0
0
2
+ 31 other calls in file
ramda.clone is the most popular function in ramda (30311 examples)