Skip to content

rune-langium / visual-editor/src / selectionState

Function: selectionState() ​

ts
function selectionState(ids, selected): boolean | "indeterminate";

Defined in: packages/visual-editor/src/utils/explorer-selection.ts:26

Returns the checkbox state for a collection of selection IDs.

Parameters ​

ParameterType
idsreadonly string[]
selectedReadonlySet<string>

Returns ​

boolean | "indeterminate"

Core packages released under MIT. Studio app released under FSL-1.1-ALv2.