validate_qryflow_parser {qryflow} | R Documentation |
Ensure correct parser structure
Description
This function checks that the passed object is a function and contains the arguments "x" and "..." - in that order. This is to help ensure users only register valid parsers.
Usage
validate_qryflow_parser(parser)
Arguments
parser |
object to check |
Value
Logical. Generates an error if the object does not pass all the criteria.
See Also
validate_qryflow_handler()
for the handler equivalent.
Examples
custom_func <- function(x, ...){
# Parsing Code Goes Here
}
validate_qryflow_parser(custom_func)
[Package qryflow version 0.1.0 Index]