MCPcopy
hub / github.com/angular-ui/ui-router / getPredicateValue

Function getPredicateValue

test/angular/1.7/angular.js:23918–23926  ·  view source on GitHub ↗
(value, index)

Source from the content-addressed store, hash-verified

23916 }
23917
23918 function getPredicateValue(value, index) {
23919 var type = typeof value;
23920 if (value === null) {
23921 type = 'null';
23922 } else if (type === 'object') {
23923 value = objectValue(value);
23924 }
23925 return {value: value, type: type, index: index};
23926 }
23927
23928 function defaultCompare(v1, v2) {
23929 var result = 0;

Callers 1

getComparisonObjectFunction · 0.70

Calls 1

objectValueFunction · 0.70

Tested by

no test coverage detected