isRtl
Estimates the directionality of a string using the default text direction heuristic.
Return
true if str
's estimated overall directionality is RTL. Otherwise returns false.
Parameters
str
String whose directionality is to be estimated.
Operates like isRtl, but takes a CharSequence instead of a string.
Return
true if str
's estimated overall directionality is RTL. Otherwise returns false.
Parameters
str
CharSequence whose directionality is to be estimated.