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

Function getOptionValuesKeys

lib/test/angular/1.7.0/angular.js:31364–31379  ·  view source on GitHub ↗
(optionValues)

Source from the content-addressed store, hash-verified

31362 }
31363
31364 function getOptionValuesKeys(optionValues) {
31365 var optionValuesKeys;
31366
31367 if (!keyName && isArrayLike(optionValues)) {
31368 optionValuesKeys = optionValues;
31369 } else {
31370 // if object, extract keys, in enumeration order, unsorted
31371 optionValuesKeys = [];
31372 for (var itemKey in optionValues) {
31373 if (optionValues.hasOwnProperty(itemKey) && itemKey.charAt(0) !== '$') {
31374 optionValuesKeys.push(itemKey);
31375 }
31376 }
31377 }
31378 return optionValuesKeys;
31379 }
31380
31381 return {
31382 trackBy: trackBy,

Callers 1

parseOptionsExpressionFunction · 0.70

Calls 1

isArrayLikeFunction · 0.70

Tested by

no test coverage detected