Returns true if an element has right-to-left text direction.
true
An element whose text direction should be checked. If null, the document text direction is used.
null
Returns
trueif an element has right-to-left text direction.