How to use the toPairsIn function from ramda
Find comprehensive JavaScript ramda.toPairsIn code examples handpicked from public code repositorys.
4503 4504 4505 4506 4507 4508 4509 4510 4511 4512
* @example * * var F = function() { this.x = 'X'; }; * F.prototype.y = 'Y'; * var f = new F(); * R.toPairsIn(f); //=> [['x','X'], ['y','Y']] */ var toPairsIn = _curry1(function toPairsIn(obj) { var pairs = []; for (var prop in obj) {
0
0
0
+ 17 other calls in file
ramda.clone is the most popular function in ramda (30311 examples)