MCPcopy Create free account
hub / github.com/sql-js/sql.js / bidiLeft

Function bidiLeft

GUI/codemirror/lib/codemirror.js:7256–7256  ·  view source on GitHub ↗
(part)

Source from the content-addressed store, hash-verified

7254 }
7255
7256 function bidiLeft(part) { return part.level % 2 ? part.to : part.from; }
7257 function bidiRight(part) { return part.level % 2 ? part.from : part.to; }
7258
7259 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…