Function doesntEqual
doesntEqual(
attribute,value,config?):Filter
Creates a filter to isolate attribute values that do not equal a specified string or number.
When filtering against a string:
- Matching is case insensitive.
- You can optionally use wildcard characters for pattern matching, as described in the
like()function.
Parameters
| Parameter | Type | Description |
|---|---|---|
attribute | Attribute | Text or numeric attribute to filter on |
value | number | string | Value to filter by |
config? | BaseFilterConfig | Optional configuration for the filter |
Returns
A filter instance
Example
Filter for items not in new condition from the Sample ECommerce data model.
filterFactory.doesntEqual(DM.Commerce.Condition, 'New')