isReversed

A selection is reversed if its anchor is the end position.

Online Documentation