isEmpty( )


Refines a query or filter to match items whose specified property does not exist or does not have any value.

The isEmpty() function refines a WixDataQuery or WixDataFilter to only match items where the value of the specified property is null or undefined or the property does not exist.

If the property contains any value at all for a given item, including the empty string or an invalid value, that item will match the query.

Method Declaration
Copy
Method Parameters
propertyNamestringRequired

The the property in which to check for a value.

Returns
Return Type:WixDataQuery
Was this helpful?
Yes
No