MCPcopy Create free account
hub / github.com/breck7/scroll / extraLeft

Function extraLeft

external/.scrollLibs.js:1399–1401  ·  view source on GitHub ↗
(marker)

Source from the content-addressed store, hash-verified

1397 // Helpers used when computing which overlapping collapsed span
1398 // counts as the larger one.
1399 function extraLeft(marker) {
1400 return marker.inclusiveLeft ? -1 : 0
1401 }
1402 function extraRight(marker) {
1403 return marker.inclusiveRight ? 1 : 0
1404 }

Callers 2

compareCollapsedMarkersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected