ExopData v0.1.7 ExopData.CommonFilters View Source
Defines filters which are common for different types.
Link to this section Summary
Functions
Applies allow_nil
filter to a generator (the first argument) which may present
in parameter options given as the second argument.
Applies common filters to a generator (the first argument) which may present in parameter options given as the second argument.
Applies not_in
filter to a generator (the first argument) which may present
in parameter options given as the second argument.
Link to this section Functions
allow_nil(generator, param_opts)
View Source
allow_nil(StreamData.t(), any()) :: StreamData.t()
allow_nil(StreamData.t(), any()) :: StreamData.t()
Applies allow_nil
filter to a generator (the first argument) which may present
in parameter options given as the second argument.
filter(generator, param_opts)
View Source
filter(StreamData.t(), any()) :: StreamData.t()
filter(StreamData.t(), any()) :: StreamData.t()
Applies common filters to a generator (the first argument) which may present in parameter options given as the second argument.
not_in(generator, param_opts)
View Source
not_in(StreamData.t(), any()) :: StreamData.t()
not_in(StreamData.t(), any()) :: StreamData.t()
Applies not_in
filter to a generator (the first argument) which may present
in parameter options given as the second argument.