Returns true if an element has the right-to-left text direction.
true
An element to check text direction of. If null then document text direction is checked.
null
Returns
true
if an element has the right-to-left text direction.