Sha256: f58f39129a82cd9c5e1331df0550d5758ef95222056b172b8c9c15004d6d9c17
Contents?: true
Size: 593 Bytes
Versions: 153
Compression:
Stored size: 593 Bytes
Contents
/** * 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. * @returns {Object} Returns the array of property values. */ function baseValues(object, props) { var index = -1, length = props.length, result = Array(length); while (++index < length) { result[index] = object[props[index]]; } return result; } module.exports = baseValues;
Version data entries
153 entries across 80 versions & 8 rubygems