filterfun: Creates a first FALSE exiting function from the list of
filter functions it is given.
Description
This function creates a function that takes a single argument. The
filtering functions are bound in the environment of the returned
function and are applied sequentially to the argument of the returned
function. When the first filter function evaluates to FALSE the
function returns FALSE otherwise it returns TRUE.
Usage
filterfun(...)
Arguments
...
Filtering functions.
Value
filterfun returns a function that takes a single argument. It
binds the filter functions given to it in the environment of the
returned function. These functions are applied sequentially (in the
order they were given to filterfun). The function returns
FALSE (and exits) when the first filter function returns
FALSE otherwise it returns TRUE.