Filtrex v0.3.0 Filtrex.Condition.Number

Filtrex.Condition.Number is a specific condition type for handling integer and decimal filters with various configuration options.

Comparators: greater than, less than or, greater than or, less than

Configuation Options:

KeyTypeDescription
allow_decimaltrue/falserequired to allow decimal values
allowed_valueslist/rangevalue must be in these values

Summary

Functions

Callback implementation for Filtrex.Condition.comparators/0

Callback implementation for Filtrex.Condition.parse/2

Callback implementation for Filtrex.Condition.type/0

Types

t :: Filtrex.Condition.Number

Functions

comparators()

Callback implementation for Filtrex.Condition.comparators/0.

parse(config, map)

Callback implementation for Filtrex.Condition.parse/2.

type()

Callback implementation for Filtrex.Condition.type/0.