Function isNotEmpty
isNotEmpty(
attribute,config?):Filter
Creates a filter to isolate attribute values that are not empty and not null.
Parameters
| Parameter | Type | Description |
|---|---|---|
attribute | Attribute | Attribute to filter on |
config? | BaseFilterConfig | Optional configuration for the filter |
Returns
A filter instance
Example
Filter for items where the condition is not empty and not null from the Sample ECommerce data model.
filterFactory.isNotEmpty(DM.Commerce.Condition)