MCPcopy Index your code
hub / github.com/codeaashu/claude-code / reverseRangeNumbers

Function reverseRangeNumbers

src/ink/bidi.ts:117–125  ·  view source on GitHub ↗
(arr: number[], start: number, end: number)

Source from the content-addressed store, hash-verified

115}
116
117function reverseRangeNumbers(arr: number[], start: number, end: number): void {
118 while (start < end) {
119 const temp = arr[start]!
120 arr[start] = arr[end]!
121 arr[end] = temp
122 start++
123 end--
124 }
125}
126
127/**
128 * Quick check for RTL characters (Hebrew, Arabic, and related scripts).

Callers 1

reorderBidiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected