(s: SelectionState)
| 674 | } |
| 675 | |
| 676 | export function hasSelection(s: SelectionState): boolean { |
| 677 | return s.anchor !== null && s.focus !== null |
| 678 | } |
| 679 | |
| 680 | /** |
| 681 | * Normalized selection bounds: start is always before end in reading order. |
no outgoing calls
no test coverage detected