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

Function getPredicateValue

test/angular/1.6/angular.js:23080–23089  ·  view source on GitHub ↗
(value, index)

Source from the content-addressed store, hash-verified

23078 }
23079
23080 function getPredicateValue(value, index) {
23081 var type = typeof value;
23082 if (value === null) {
23083 type = 'string';
23084 value = 'null';
23085 } else if (type === 'object') {
23086 value = objectValue(value);
23087 }
23088 return {value: value, type: type, index: index};
23089 }
23090
23091 function defaultCompare(v1, v2) {
23092 var result = 0;

Callers 1

getComparisonObjectFunction · 0.70

Calls 1

objectValueFunction · 0.70

Tested by

no test coverage detected