MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / getPredicateValue

Function getPredicateValue

lib/test/angular/1.7.0/angular.js:23197–23205  ·  view source on GitHub ↗
(value, index)

Source from the content-addressed store, hash-verified

23195 }
23196
23197 function getPredicateValue(value, index) {
23198 var type = typeof value;
23199 if (value === null) {
23200 type = 'null';
23201 } else if (type === 'object') {
23202 value = objectValue(value);
23203 }
23204 return {value: value, type: type, index: index};
23205 }
23206
23207 function defaultCompare(v1, v2) {
23208 var result = 0;

Callers 1

getComparisonObjectFunction · 0.70

Calls 1

objectValueFunction · 0.70

Tested by

no test coverage detected