MCPcopy
hub / github.com/jashkenas/underscore / values

Function values

underscore-node-f.cjs:556–564  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

554
555// Retrieve the values of an object's properties.
556function values(obj) {
557 var _keys = keys(obj);
558 var length = _keys.length;
559 var values = Array(length);
560 for (var i = 0; i < length; i++) {
561 values[i] = obj[_keys[i]];
562 }
563 return values;
564}
565
566// Convert an object into a list of `[key, value]` pairs.
567// 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…