| is_filter {lgr} | R Documentation |
Check if an R Object is a Filter
Description
Returns TRUE for any R object that can be used as a Filter
for Loggers or, Appenders:
a
functionwith the single argumentevent;an EventFilter R6::R6 object; or
any object with a
$filter(event)method.
Note: A Filter must return a scalar TRUE or FALSE, but this
property cannot be checked by is_filter().
Usage
is_filter(x)
Arguments
x |
any R Object |
Value
TRUE or FALSE
See Also
[Package lgr version 0.4.4 Index]