✅ You are viewing documentation for the latest version of Compose SDK.
Version:

# Function greaterThanOrEqual

greaterThanOrEqual( attribute, value, config?): Filter

Creates a filter to isolate attribute values greater than or equal to a specified number.

# Parameters

Parameter Type Description
attribute Attribute Numeric attribute to filter on
value number Value to filter by
config? BaseFilterConfig Optional configuration for the filter

# Returns

Filter

A filter instance

# Example

Filter for items where the cost is greater than or equal to 100 from the Sample ECommerce data model.

filterFactory.greaterThanOrEqual(DM.Commerce.Cost, 100)