not( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Adds a not condition to the aggregate pipeline filter.

The not() method adds a not condition to this pipeline filter. A filter with a not returns all the items that match the filter as defined up to the not method, but don't match the filter passed to the not method.

If the filter only contains a not() method, it returns all the items that don't match the filter defined by the not method.

Method Declaration
Copy
Method Parameters
filterFilterStageRequired

Filter to add to the initial filter as a not condition.

Returns
Return Type:FilterStage
Errors

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

Did this help?