basant307/AI_Governance_Project
045
1import createToPairs from './_createToPairs.js';2import keysIn from './keysIn.js';3 4/**5 * Creates an array of own and inherited enumerable string keyed-value pairs6 * for `object` which can be consumed by `_.fromPairs`. If `object` is a map7 * or set, its entries are returned.8 *9 * @static10 * @memberOf _11 * @since 4.0.012 * @alias entriesIn13 * @category Object14 * @param {Object} object The object to query.15 * @returns {Array} Returns the key-value pairs.16 * @example17 *18 * function Foo() {19 * this.a = 1;20 * this.b = 2;21 * }22 *23 * Foo.prototype.c = 3;24 *25 * _.toPairsIn(new Foo);26 * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)27 */28var toPairsIn = createToPairs(keysIn);29 30export default toPairsIn;31 