MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / getComparisonObject

Function getComparisonObject

web/static/bower_components/angular/angular.js:19415–19422  ·  view source on GitHub ↗
(value, index)

Source from the content-addressed store, hash-verified

19413 return array;
19414
19415 function getComparisonObject(value, index) {
19416 return {
19417 value: value,
19418 predicateValues: predicates.map(function(predicate) {
19419 return getPredicateValue(predicate.get(value), index);
19420 })
19421 };
19422 }
19423
19424 function doComparison(v1, v2) {
19425 var result = 0;

Callers

nothing calls this directly

Calls 2

getPredicateValueFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected