1 var baseValues = require('./internal/baseValues'),
2 keysIn = require('./keysIn');
5 * Creates an array of the own and inherited enumerable property values of `object`.
7 * **Note:** Non-object values are coerced to objects.
12 * @param {Object} object The object to query.
13 * @returns {Array} Returns the array of property values.
21 * Foo.prototype.c = 3;
23 * _.valuesIn(new Foo);
24 * // => [1, 2, 3] (iteration order is not guaranteed)
26 function valuesIn(object) {
27 return object == null ? baseValues(object, keysIn(object)) : [];
30 module.exports = valuesIn;