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

Function getOptionValuesKeys

lib/test/angular/1.4.3/angular.js:26016–26031  ·  view source on GitHub ↗
(optionValues)

Source from the content-addressed store, hash-verified

26014 }
26015
26016 function getOptionValuesKeys(optionValues) {
26017 var optionValuesKeys;
26018
26019 if (!keyName && isArrayLike(optionValues)) {
26020 optionValuesKeys = optionValues;
26021 } else {
26022 // if object, extract keys, in enumeration order, unsorted
26023 optionValuesKeys = [];
26024 for (var itemKey in optionValues) {
26025 if (optionValues.hasOwnProperty(itemKey) && itemKey.charAt(0) !== '$') {
26026 optionValuesKeys.push(itemKey);
26027 }
26028 }
26029 }
26030 return optionValuesKeys;
26031 }
26032
26033 return {
26034 trackBy: trackBy,

Callers 1

parseOptionsExpressionFunction · 0.70

Calls 1

isArrayLikeFunction · 0.70

Tested by

no test coverage detected