in¶
Description¶
Returns true if the expression matches with any value in the given set.
Return type¶
bool
Domain¶
This is a scalar function (calculates a single output value for a single input row.)
Categories¶
Usage¶
in(item, choice_1, choice_2, ...)
Argument  | 
Type  | 
Optional  | 
Repeatable  | 
Restrictions  | 
|---|---|---|---|---|
item  | 
storable  | 
no  | 
no  | 
none  | 
choice  | 
item  | 
no  | 
yes  | 
none  | 
Examples¶
filter in(OBSERVATION_KIND, 'http', 'system', 'grpc')
Returns true where OBSERVATION_KIND is either ‘http’, ‘system’ or ‘grpc’