MCPcopy
hub / github.com/louischatriot/nedb / fn

Function fn

browser-version/out/nedb.js:3621–3624  ·  view source on GitHub ↗
(left, right)

Source from the content-addressed store, hash-verified

3619 }
3620 else {
3621 var fn = function (left, right) {
3622 var a = left.criteria, b = right.criteria;
3623 return a < b ? -1 : a > b ? 1 : 0;
3624 };
3625 callback(null, _map(results.sort(fn), function (x) {
3626 return x.value;
3627 }));

Callers 14

filterFunction · 0.85
nedb.jsFile · 0.85
taskCompleteFunction · 0.85
_parallelFunction · 0.85
_concatFunction · 0.85
nextFunction · 0.85
chai.jsFile · 0.85
assertChangesFunction · 0.85
assertIncreasesFunction · 0.85
assertDecreasesFunction · 0.85
mocha.jsFile · 0.85
HTMLCovFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected