MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / getOptionValuesKeys

Function getOptionValuesKeys

web/static/bower_components/angular/angular.js:26274–26289  ·  view source on GitHub ↗
(optionValues)

Source from the content-addressed store, hash-verified

26272 }
26273
26274 function getOptionValuesKeys(optionValues) {
26275 var optionValuesKeys;
26276
26277 if (!keyName && isArrayLike(optionValues)) {
26278 optionValuesKeys = optionValues;
26279 } else {
26280 // if object, extract keys, in enumeration order, unsorted
26281 optionValuesKeys = [];
26282 for (var itemKey in optionValues) {
26283 if (optionValues.hasOwnProperty(itemKey) && itemKey.charAt(0) !== '$') {
26284 optionValuesKeys.push(itemKey);
26285 }
26286 }
26287 }
26288 return optionValuesKeys;
26289 }
26290
26291 return {
26292 trackBy: trackBy,

Callers 1

parseOptionsExpressionFunction · 0.85

Calls 1

isArrayLikeFunction · 0.85

Tested by

no test coverage detected