* 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.
(object, props)
| 1045 | * @returns {Object} Returns the array of property values. |
| 1046 | */ |
| 1047 | function baseValues(object, props) { |
| 1048 | return arrayMap(props, function(key) { |
| 1049 | return object[key]; |
| 1050 | }); |
| 1051 | } |
| 1052 | |
| 1053 | /** |
| 1054 | * Checks if a `cache` value for `key` exists. |