(a, b)
| 17 | export function copyPos(x) {return Pos(x.line, x.ch)} |
| 18 | export function maxPos(a, b) { return cmp(a, b) < 0 ? b : a } |
| 19 | export function minPos(a, b) { return cmp(a, b) < 0 ? a : b } |
| 20 | |
| 21 | // Most of the external API clips given positions to make sure they |
| 22 | // actually exist within the document. |
no test coverage detected