first_strong_rtl

Function first_strong_rtl 

Source
pub fn first_strong_rtl(text: &str) -> bool
Expand description

A heurstic for text direction.

Returns true if, while enumerating characters in this string, a character in the ‘R’ (strong right-to-left) category is encountered before any character in the ‘L’ (strong left-to-right) category is.

See Unicode technical report 9.