MCPcopy
hub / github.com/csev/py4e / bidiLeft

Function bidiLeft

tools/pythonauto/static/codemirrorepl/codemirror.js:7198–7198  ·  view source on GitHub ↗
(part)

Source from the content-addressed store, hash-verified

7196 }
7197
7198 function bidiLeft(part) { return part.level % 2 ? part.to : part.from; }
7199 function bidiRight(part) { return part.level % 2 ? part.from : part.to; }
7200
7201 function lineLeft(line) { var order = getOrder(line); return order ? bidiLeft(order[0]) : 0; }

Callers 2

getBidiFunction · 0.70
lineLeftFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected