Has an arguments
property that is a list of condition-result expression pairs followed by a default result expression, like so:
{
type = "if-else-chain",
arguments = {
condition1, result1,
condition2, result2,
...
defaultResult
}
}
The result of the if-else-chain is the value of the first result expression whose condition expression evaluated to true, or the value of the default result ('else') expression.
type |
:: "if-else-chain"
|
|
arguments | :: array[NoiseExpression] |
|
arguments | :: array[NoiseExpression] |
|
type |
:: "if-else-chain"
|
|