CenterView Help

and

Function: and() / &&

Returns the result of a logical AND operation on two or more arguments. I.e. if all the passed arguments are true (or are non-null and non-zero), then and() will return true.

Syntax

  1. and(cond1, cond2[,..,condN])
  2. cond1 && cond2
ArgumentTypeDescription
cond1BooleanA logical value to be tested
cond2BooleanA logical value to be tested<
condNBooleanAny 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.callsin.durationResult
159000
1511000
259000
2511001

See Also

Please let us know if we could improve this page feedback@phixflow.com