MCPcopy
hub / github.com/angular-ui/ui-grid / getOptionValuesKeys

Function getOptionValuesKeys

lib/test/angular/1.8.0/angular.js:32404–32419  ·  view source on GitHub ↗
(optionValues)

Source from the content-addressed store, hash-verified

32402 }
32403
32404 function getOptionValuesKeys(optionValues) {
32405 var optionValuesKeys;
32406
32407 if (!keyName && isArrayLike(optionValues)) {
32408 optionValuesKeys = optionValues;
32409 } else {
32410 // if object, extract keys, in enumeration order, unsorted
32411 optionValuesKeys = [];
32412 for (var itemKey in optionValues) {
32413 if (optionValues.hasOwnProperty(itemKey) && itemKey.charAt(0) !== '$') {
32414 optionValuesKeys.push(itemKey);
32415 }
32416 }
32417 }
32418 return optionValuesKeys;
32419 }
32420
32421 return {
32422 trackBy: trackBy,

Callers 1

parseOptionsExpressionFunction · 0.70

Calls 1

isArrayLikeFunction · 0.70

Tested by

no test coverage detected