MCPcopy Create free account
hub / github.com/apache/cloudstack / forEachSorted

Function forEachSorted

tools/ngui/static/js/lib/angular.js:155–161  ·  view source on GitHub ↗
(obj, iterator, context)

Source from the content-addressed store, hash-verified

153}
154
155function forEachSorted(obj, iterator, context) {
156 var keys = sortedKeys(obj);
157 for ( var i = 0; i < keys.length; i++) {
158 iterator.call(context, obj[keys[i]], keys[i]);
159 }
160 return keys;
161}
162
163
164/**

Callers 1

buildUrlFunction · 0.85

Calls 2

sortedKeysFunction · 0.85
callMethod · 0.45

Tested by

no test coverage detected