1 var createToPairs = require('./_createToPairs'),
2 keysIn = require('./keysIn');
5 * Creates an array of own and inherited enumerable string keyed-value pairs
6 * for `object` which can be consumed by `_.fromPairs`. If `object` is a map
7 * or set, its entries are returned.
14 * @param {Object} object The object to query.
15 * @returns {Array} Returns the key-value pairs.
23 * Foo.prototype.c = 3;
25 * _.toPairsIn(new Foo);
26 * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)
28 var toPairsIn = createToPairs(keysIn);
30 module.exports = toPairsIn;