This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Refines a filter to match items whose specified field value equals any of the specified values
parameters.
The hasSome()
method refines this filter to
only match items where the value of the specified field equals any of
the specified values.
Matching strings with hasSome()
is case sensitive, so "text"
is not equal to "Text"
.
If the value of the specified field is an array, hasSome()
will match
if any of the elements of that array match any of the specified values.
If the specified field contains multiple references, pass item IDs in the
value
field. In such a case, hasSome()
will match if any of the
multiple references match any of the specified ID values.
You can specify a list of values to match by providing an array of
String, Number, or Date types as the value
parameters.
Field whose value is compared with value
.
Values to match.