has_handler_args {catchr}R Documentation

Make sure a function can be a handler

Description

This makes sure that a given function doesn't require more than one argument to be passed into it, and takes in at least one argument (which is what a handler needs).

Usage

has_handler_args(fn)

Arguments

fn

A function that is a candidate for being a handler


[Package catchr version 0.2.31 Index]