MCPcopy Index your code
hub / github.com/SplootCode/splootcode / isSingleNode

Method isSingleNode

packages/editor/src/context/selection.ts:114–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112 }
113
114 isSingleNode() {
115 return this.state === SelectionState.Editing || this.state === SelectionState.SingleNode
116 }
117
118 isMultiSelect() {
119 return this.state === SelectionState.MultiNode

Callers 10

isSelectedNodeMethod · 0.95
copyCurrentSelectionMethod · 0.95
backspaceMethod · 0.95
insertFragmentMethod · 0.95
startMultiSelectMethod · 0.95
EditorClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected