if(<cond>) <then> else <else> built-in function configuration, make sure to not reuse indices

interface IfThenElseConfig {
    args?: { cond: string; no: string; yes: string };
}

Properties

Properties

args?: { cond: string; no: string; yes: string }

Type declaration

  • cond: string

    the expression to treat as condition, defaults to index 0

  • no: string

    argument to treat as no/'else' case, defaults to index 2

  • yes: string

    argument to treat as yes/'then' case, defaults to index 1