TextRange.singleLine

returns true if start and end located at the same line

struct TextRange
@property const
bool
singleLine
()

Meta