Function isEmpty
isEmpty(
attribute,config?):Filter
Creates a filter to isolate attribute values that are empty or 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 empty or null from the Sample ECommerce data model.
filterFactory.isEmpty(DM.Commerce.Condition)