MCPcopy
hub / github.com/PatrickJS/awesome-cursorrules / isBidirectionalTextControl

Function isBidirectionalTextControl

scripts/check-repo-hygiene.mjs:474–482  ·  view source on GitHub ↗
(codePoint)

Source from the content-addressed store, hash-verified

472}
473
474function isBidirectionalTextControl(codePoint) {
475 return (
476 codePoint === 0x061c ||
477 codePoint === 0x200e ||
478 codePoint === 0x200f ||
479 inRange(codePoint, 0x202a, 0x202e) ||
480 inRange(codePoint, 0x2066, 0x2069)
481 );
482}
483
484function isDisallowedControlCharacter(codePoint) {
485 if (codePoint === 0x09 || codePoint === 0x0a || codePoint === 0x0d) {

Callers 1

classifyPromptCodePointFunction · 0.85

Calls 1

inRangeFunction · 0.85

Tested by

no test coverage detected