---
title: "Logical Operators"
canonical: "https://docs.infoblox.com/space/netmri754/105944187/Logical%20Operators"
format: markdown
---
The following logical operators can be used to combine sub-expressions:

`and, &, &&` boolean AND`     or, |, ||` boolean OR      `    (, )` grouping

Examples:

`$Vendor eq "Cisco" and $Type eq "Router"`

`($Vendor eq "Juniper" and $Type eq "Router")`

`or ($Vendor eq "Cisco" and $Type in ["Router", "Switch"])`

`memberOf ["Routing Group”"] and $IPAddress in [10.1.0.0/16, 10.2.3.45]`