(p1: Position, p2: Position)
| 117 | * @returns the given Positions in the order they appear in the document. |
| 118 | */ |
| 119 | export function sorted(p1: Position, p2: Position): [Position, Position] { |
| 120 | return p1.isBefore(p2) ? [p1, p2] : [p2, p1]; |
| 121 | } |
| 122 | |
| 123 | declare module 'vscode' { |
| 124 | interface Position { |
no outgoing calls
no test coverage detected