If
If
Compare a value stored in the value store with a given target value.
Additional inputs
- If key: name of the key in the sub-store
- in parameter group: name of the sub-store
- ifCondition: what kind of comparison to perform
- is equal to: value to compare the value from the variable to
If is equal to is set to $notEmpty, it will be checked whether the variable exists.
Otherwise, if the ifCondition is set to =, both values will be compared as strings (to allow for booleans and numbers to be compared easily).
If, instead, it's set to either of >, >=, <=, <, a number comparison will be performed (both will be cast into numbers)
Function exits
- If true: The performed check returned
true - If false: The performed check returned
false - On bad input: The check could not be performed, most likely because either of the variables could not be cast into a number