isRtlChar static method
Check if a code unit is an RTL character
Implementation
static bool isRtlChar(int codeUnit) {
return (codeUnit >= _arabicStart && codeUnit <= _arabicEnd) ||
(codeUnit >= _arabicSupplementStart &&
codeUnit <= _arabicSupplementEnd) ||
(codeUnit >= _arabicExtendedAStart &&
codeUnit <= _arabicExtendedAEnd) ||
(codeUnit >= _hebrewStart && codeUnit <= _hebrewEnd) ||
(codeUnit >= _syriacStart && codeUnit <= _syriacEnd) ||
(codeUnit >= _thaanaStart && codeUnit <= _thaanaEnd) ||
(codeUnit >= _nkoStart && codeUnit <= _nkoEnd) ||
codeUnit == rlm ||
codeUnit == rle ||
codeUnit == rlo ||
codeUnit == rli;
}