CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
at.js24 linesDownload Raw Back to lodash
1var baseAt = require('./_baseAt'),2    flatRest = require('./_flatRest');3 4/**5 * Creates an array of values corresponding to `paths` of `object`.6 *7 * @static8 * @memberOf _9 * @since 1.0.010 * @category Object11 * @param {Object} object The object to iterate over.12 * @param {...(string|string[])} [paths] The property paths to pick.13 * @returns {Array} Returns the picked values.14 * @example15 *16 * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };17 *18 * _.at(object, ['a[0].b.c', 'a[1]']);19 * // => [3, 4]20 */21var at = flatRest(baseAt);22 23module.exports = at;24 
basant307/AI_Governance_Project · CoolFace