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

Function getPredicateValue

lib/test/angular/1.6.7/angular.js:22753–22762  ·  view source on GitHub ↗
(value, index)

Source from the content-addressed store, hash-verified

22751 }
22752
22753 function getPredicateValue(value, index) {
22754 var type = typeof value;
22755 if (value === null) {
22756 type = 'string';
22757 value = 'null';
22758 } else if (type === 'object') {
22759 value = objectValue(value);
22760 }
22761 return {value: value, type: type, index: index};
22762 }
22763
22764 function defaultCompare(v1, v2) {
22765 var result = 0;

Callers 1

getComparisonObjectFunction · 0.70

Calls 1

objectValueFunction · 0.70

Tested by

no test coverage detected