# Function between

between( attribute, valueA, valueB): Filter

Creates a filter to isolate attribute values within or exactly matching two specified numerical boundaries.

# Parameters

Parameter Type Description
attribute Attribute Numeric attribute to filter on
valueA number Value to filter from
valueB number Value to filter to

# Returns

Filter

A filter instance

# Example

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

filterFactory.between(DM.Commerce.Cost, 100, 200)