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

Function minPos

static/mergely/lib/codemirror.js:1089–1089  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

1087 function copyPos(x) {return Pos(x.line, x.ch);}
1088 function maxPos(a, b) { return cmp(a, b) < 0 ? b : a; }
1089 function minPos(a, b) { return cmp(a, b) < 0 ? a : b; }
1090
1091 // INPUT HANDLING
1092

Callers 3

codemirror.jsFile · 0.70
normalizeSelectionFunction · 0.70
extendToFunction · 0.70

Calls 1

cmpFunction · 0.50

Tested by

no test coverage detected