How to use the eqProps function from ramda

Find comprehensive JavaScript ramda.eqProps code examples handpicked from public code repositorys.

7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
 *
 * @example
 *
 *      var o1 = { a: 1, b: 2, c: 3, d: 4 };
 *      var o2 = { a: 10, b: 20, c: 3, d: 40 };
 *      R.eqProps('a', o1, o2); //=> false
 *      R.eqProps('c', o1, o2); //=> true
 */
var eqProps = _curry3(function eqProps(prop, obj1, obj2) {
    return equals(obj1[prop], obj2[prop]);
fork icon0
star icon0
watch icon0

+ 35 other calls in file

Other functions in ramda

Sorted by popularity

function icon

ramda.clone is the most popular function in ramda (30311 examples)