MCPcopy Create free account
hub / github.com/6dylan6/jdm / compare

Method compare

function/common.js:212–218  ·  view source on GitHub ↗
(property)

Source from the content-addressed store, hash-verified

210 return result;
211 }
212 compare(property) {
213 return function(a, b) {
214 var value1 = a[property];
215 var value2 = b[property];
216 return value1 - value2;
217 }
218 }
219 filename(file, rename = '') {
220 if (!this.runfile) {
221 this.runfile = path.basename(file).replace(".js", '').replace(/-/g, '_')

Callers 1

signdps.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected