TextRange.contains

struct TextRange
bool
contains

Return Value

Type: bool

true if this range contains the position or the position is at the edges of this range.

Meta