is.nf: check if a nimbleFunction
Description
Checks an object to determine if it is a nimbleFunction (i.e., a function created by nimbleFunction
using setup code).
Usage
is.nf(f, inputIsName = FALSE)
Arguments
inputIsName
logical indicating whether the function is provided as the character name of the function or the function object itself