MCPcopy Create free account
hub / github.com/RubyLouvre/anu / baseValues

Function baseValues

test/babel.js:52222–52226  ·  view source on GitHub ↗

* The base implementation of `_.values` and `_.valuesIn` which creates an * array of `object` property values corresponding to the property names * of `props`. * * @private * @param {Object} object The object to query. * @param {Array} props The property names to get values for. * @ret

(object, props)

Source from the content-addressed store, hash-verified

52220 * @returns {Object} Returns the array of property values.
52221 */
52222 function baseValues(object, props) {
52223 return arrayMap(props, function (key) {
52224 return object[key];
52225 });
52226 }
52227
52228 module.exports = baseValues;
52229

Callers 1

valuesFunction · 0.85

Calls 1

arrayMapFunction · 0.85

Tested by

no test coverage detected