MCPcopy Index your code
hub / github.com/jashkenas/underscore / values

Function values

underscore.js:563–571  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

561
562 // Retrieve the values of an object's properties.
563 function values(obj) {
564 var _keys = keys(obj);
565 var length = _keys.length;
566 var values = Array(length);
567 for (var i = 0; i < length; i++) {
568 values[i] = obj[_keys[i]];
569 }
570 return values;
571 }
572
573 // Convert an object into a list of `[key, value]` pairs.
574 // The opposite of `_.object` with one argument.

Callers 5

containsFunction · 0.70
maxFunction · 0.70
minFunction · 0.70
toArrayFunction · 0.70
sampleFunction · 0.70

Calls 1

keysFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…