is.nf: check if a nimbleFunction

View source: R/nimbleFunction_util.R

is.nfR Documentation

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, where = -1)

Arguments

f

object to be tested

inputIsName

logical indicating whether the function is provided as the character name of the function or the function object itself

where

Optional argument needed due to R package namespace issues but which should not need to be provided by a user.

See Also

nimbleFunction for how to create a nimbleFunction


nimble documentation built on Sept. 11, 2024, 7:10 p.m.