rune-langium / core/src / getEffectiveConditions
Function: getEffectiveConditions()
ts
function getEffectiveConditions(choice): Condition[];Defined in: packages/core/src/utils/choice-utils.ts:18
Get conditions that are defined on the Data types within a Choice's options. Since Choice options reference type calls, we return the conditions from the parent Choice's enclosing Data types (if any).
Parameters
| Parameter | Type |
|---|---|
choice | Choice |