Refines a search to match documents whose specified field value equals any of the specified values.
The in()
function refines a WixSearchBuilder
to
only match documents where the value of the specified field equals any of
the specified values.
Matching strings with in()
is case sensitive, so "text"
is not equal to "Text"
.
If other filters were previously used in the same WixSearchBuilder
instance, in()
is applied using an and
condition with previously set filters.
The field whose value will be compared with values
. The field must be of type string or number.
The values to match against.