Skip to content

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

ParameterType
choiceChoice

Returns

Condition[]

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