PhixFlow Help
or
Function: or() / ||
Returns the result of a logical OR operation on two or more arguments. I.e. if one or all of the passed arguments are true (or are non-null and non-zero), then or() will return true.
Syntax
- or(cond1, cond2[,..,condN])
- cond1 || cond2
Argument | Type | Description |
---|---|---|
cond1 | Boolean | A logical value to be tested |
cond2 | Boolean | A logical value to be tested |
condN | Boolean | Any number of additional optional logical values to be tested |
Examples
in.calls > 20 || in.duration > 1000
Returns the following depending on the values of in.calls and in.duration
in.calls | in.duration | Result |
---|---|---|
15 | 900 | 0 |
15 | 1100 | 1 |
25 | 900 | 1 |
25 | 1100 | 1 |
See Also
Please let us know if we could improve this page feedback@phixflow.com