Common methods for BidiInfo-like structures
Only includes methods that are truly common between UTF-8 and UTF-16 implementations
Instance methods
has_ltr?
Check if text has any LTR (left-to-right) levels
Sourcehas_rtl?
Check if text has any RTL (right-to-left) levels
Source