MCPcopy Index your code
hub / github.com/angular-ui/ui-router / getPredicateValue

Function getPredicateValue

test/angular/1.5/angular.js:22116–22125  ·  view source on GitHub ↗
(value, index)

Source from the content-addressed store, hash-verified

22114 }
22115
22116 function getPredicateValue(value, index) {
22117 var type = typeof value;
22118 if (value === null) {
22119 type = 'string';
22120 value = 'null';
22121 } else if (type === 'object') {
22122 value = objectValue(value);
22123 }
22124 return {value: value, type: type, index: index};
22125 }
22126
22127 function defaultCompare(v1, v2) {
22128 var result = 0;

Callers 1

getComparisonObjectFunction · 0.70

Calls 1

objectValueFunction · 0.70

Tested by

no test coverage detected