Creates a search filter for matching documents whose specified field contains any of the specified values.
The hasSome()
function is chained to a WixSearchFilterBuilder
to create a WixSearchFilter
.
You can use the filter to match documents where any of the values of the array in the specified field equal any of
the specified values.
Matching strings with hasSome()
is case sensitive, so "text"
is not equal to "Text"
.
The field whose value will be compared with values
. The field type must be an array of strings.
The values to match against.