MCPcopy Create free account
hub / github.com/TruthHun/BookStack / posMax

Function posMax

static/editor.md/lib/codemirror/addon/merge/merge.js:733–733  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

731
732 function posMin(a, b) { return (a.line - b.line || a.ch - b.ch) < 0 ? a : b; }
733 function posMax(a, b) { return (a.line - b.line || a.ch - b.ch) > 0 ? a : b; }
734 function posEq(a, b) { return a.line == b.line && a.ch == b.ch; }
735});

Callers 1

markChangesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected