Creates a search filter for matching documents whose specified field value equals any of the specified values.
The in()
function is chained to a WixSearchFilterBuilder
to create a WixSearchFilter
.
You can use the filter to 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"
.
The field whose value will be compared with values
. The field must be of type string or number.
The values to match against.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.