eligius
    Preparing search index...

    Variable whenConst

    When the given expression evaluates to false, subsequent operations will be skipped until an endWhen or otherwise operation is encountered.

    Practically, this means an if or if/else statement control flow implementation in a list of operations.

    The expression is passed in as a formatted string. The left and right values of the expression can be defined like this:

    'constant': for a constant string 100: for a constant number $operationData.foo: for an operation data value $globaldata.foo: for a global data value $scope.loopIndex: for a scope value @foo: for a variable value

    $scope.variables.foo=='bar'
    
    $globalData.foo>$scope.variables.bar
    
    $operationData.foo!=100