isNotEmpty( )


Refines a query or filter to match items whose specified property has any value.

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

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 property in which to check for a value.

Returns
Return Type:WixDataQuery
Was this helpful?
Yes
No