Constructors
constructor
- new Range(start: Position, end: Position): Range
- new Range(startLine: number, startColumn: number, endLine: number, endColumn: number): Range
Parameters
Parameters
startLine: number
startColumn: number
endLine: number
endColumn: number
Accessors
isSingleLine
- get isSingleLine(): boolean
Methods
contains
Parameters
Returns boolean
intersection
Parameters
Returns undefined | Range
isEqual
- isEqual(other: Range): boolean
Parameters
Returns boolean
Static isRange
- isRange(arg: unknown): arg is Range
Parameters
Returns arg is Range