MCPcopy
hub / github.com/DHTMLX/gantt / minPos

Function minPos

samples/common/codehighlight/codemirror.js:992–992  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

990 function copyPos(x) {return Pos(x.line, x.ch)}
991 function maxPos(a, b) { return cmp(a, b) < 0 ? b : a }
992 function minPos(a, b) { return cmp(a, b) < 0 ? a : b }
993
994 // Most of the external API clips given positions to make sure they
995 // actually exist within the document.

Callers 3

codemirror.jsFile · 0.85
normalizeSelectionFunction · 0.85
extendToFunction · 0.85

Calls 1

cmpFunction · 0.85

Tested by

no test coverage detected