Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/breck7/scroll
/ maxPos
Function
maxPos
external/.scrollLibs.js:1106–1108 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
1104
return
Pos(x.line, x.ch)
1105
}
1106
function
maxPos(a, b) {
1107
return
cmp(a, b) < 0 ? b : a
1108
}
1109
function
minPos(a, b) {
1110
return
cmp(a, b) < 0 ? a : b
1111
}
Callers
3
.scrollLibs.js
File · 0.85
normalizeSelection
Function · 0.85
extendTo
Function · 0.85
Calls
1
cmp
Function · 0.85
Tested by
no test coverage detected