MCPcopy
hub / github.com/witheve/Eve / bidiLeft

Function bidiLeft

src/codemirror.js:8639–8639  ·  view source on GitHub ↗
(part)

Source from the content-addressed store, hash-verified

8637 }
8638
8639 function bidiLeft(part) { return part.level % 2 ? part.to : part.from; }
8640 function bidiRight(part) { return part.level % 2 ? part.from : part.to; }
8641
8642 function lineLeft(line) { var order = getOrder(line); return order ? bidiLeft(order[0]) : 0; }

Callers 2

getBidiFunction · 0.85
lineLeftFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected