[discrete]
[[esql-in-operator]]
=== `IN`

//tag::body[]
The `IN` operator allows testing whether a field or expression equals
an element in a list of literals, fields or expressions:

[source.merge.styled,esql]
----
include::{esql-specs}/row.csv-spec[tag=in-with-expressions]
----
[%header.monospaced.styled,format=dsv,separator=|]
|===
include::{esql-specs}/row.csv-spec[tag=in-with-expressions-result]
|===
//end::body[]