not in
Last updated
Was this helpful?
Last updated
Was this helpful?
not in
is used to check if a value is present in a list or a . If it is not, the expression evaluates to true.
On the left side of in
, there is always a single value. The list of options, which could be a taxonomy, goes on the right side of in
.
If a is only relevant to companies who are not registered in the European Union, you could attach this condition to it:
There is one answer for what the domicile of an entity is, so this is a single value. With the conditions in the example, you check whether this value is not a part of the taxonomy EUCountries
, which predictably consists of a list of all the member states of the European Union.
If e.domicile
is in the United Kingdom, the condition evaluates to true. The document will be included in the . If e.domicile
is Belgium, the condition evaluates to false, meaning the document is excluded.