MCPcopy
hub / github.com/codeaashu/claude-code / hasTextSelection

Method hasTextSelection

src/ink/ink.tsx:1236–1238  ·  view source on GitHub ↗

Whether there is an active text selection.

()

Source from the content-addressed store, hash-verified

1234
1235 /** Whether there is an active text selection. */
1236 hasTextSelection(): boolean {
1237 return hasSelection(this.selection);
1238 }
1239
1240 /**
1241 * Subscribe to selection state changes. Fires whenever the selection

Callers 1

useSelectionFunction · 0.80

Calls 1

hasSelectionFunction · 0.85

Tested by

no test coverage detected