Skip to main content

Condition class

📖 Description​

The Condition class represents a condition in the form definition.

🗃️ Fields​


🏷️ branch​

Retrieves the parent branch.

Type​

Branch


🏷️ conditions​

Retrieves a reference to parent Conditions collection.

Type​

Conditions


🏷️ id​

Retrieves the identifier of the condition.

Type​

string


🏷️ index​

Retrieves the zero-based index of the condition in the Conditions collection.

Type​

string


🏷️ isFirst​

Retrieves if the condition is the first condition in the Conditions collection.

Type​

boolean


🏷️ isLast​

Retrieves if the condition is the last condition in the Conditions collection.

Type​

boolean


🏷️ props​

Retrieves the properties of the condition.

Type​

ICondition


🏷️ runner​

Retrieves a reference to the Runner instance.

Type​

Runner