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

Function minPos

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

Source from the content-addressed store, hash-verified

1060 function copyPos(x) {return Pos(x.line, x.ch);}
1061 function maxPos(a, b) { return cmp(a, b) < 0 ? b : a; }
1062 function minPos(a, b) { return cmp(a, b) < 0 ? a : b; }
1063
1064 // INPUT HANDLING
1065

Callers 3

codemirror.jsFile · 0.70
normalizeSelectionFunction · 0.70
extendToFunction · 0.70

Calls 1

cmpFunction · 0.50

Tested by

no test coverage detected