hasSome( )


Refines a query to match items whose specified property value contains any of the specified values.

The hasSome() function refines a CreateRequestsQueryBuilder to only match items where any of the values of the array of the specified property equal any of the specified values.

Matching with hasSome() is case sensitive, so "text" is not equal to "Text".

Method Declaration
Copy
Method Parameters
propertyNamestringRequired

The property whose value will be compared with value.

Supported property:

  • status

valuesArray<string>Required

The value to match against.

Returns
Was this helpful?
Yes
No