MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / getOptionValuesKeys

Function getOptionValuesKeys

lib/test/angular/1.6.7/angular.js:30580–30595  ·  view source on GitHub ↗
(optionValues)

Source from the content-addressed store, hash-verified

30578 }
30579
30580 function getOptionValuesKeys(optionValues) {
30581 var optionValuesKeys;
30582
30583 if (!keyName && isArrayLike(optionValues)) {
30584 optionValuesKeys = optionValues;
30585 } else {
30586 // if object, extract keys, in enumeration order, unsorted
30587 optionValuesKeys = [];
30588 for (var itemKey in optionValues) {
30589 if (optionValues.hasOwnProperty(itemKey) && itemKey.charAt(0) !== '$') {
30590 optionValuesKeys.push(itemKey);
30591 }
30592 }
30593 }
30594 return optionValuesKeys;
30595 }
30596
30597 return {
30598 trackBy: trackBy,

Callers 1

parseOptionsExpressionFunction · 0.70

Calls 1

isArrayLikeFunction · 0.70

Tested by

no test coverage detected