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
| Parameter | Type |
|---|---|
ids | readonly string[] |
selected | ReadonlySet<string> |
Returns
boolean | "indeterminate"