MCPcopy Create free account
hub / github.com/dropbox/hackpad / cmp

Function cmp

infrastructure/framework-src/modules/jsutils.js:149–157  ·  view source on GitHub ↗

* Comparator that returns -1, +1, or 0 depending on whether a < b, or a > b, or * neither, respectively. * @param {object} a * @param {object} b * @return {number} -1, 0, or +1

(a,b)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

flipCompareFunction · 0.85
_getRevisionsArrayFunction · 0.85
getActivePadsFunction · 0.85
addAvailableColumnFunction · 0.85
_getColumnMetaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected