hasAll( )


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

The hasAll() function refines a ContactsQueryBuilder to only match items where the values of the array of the specified property equal all of the specified values.

Matching with hasAll() 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 properties:

  • info.labelKeys

valuesArray<string>Required

The values to match against.

Returns
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?