isCALL: isCALL Test if argument is a particular call

View source: R/derivs.R

isCALLR Documentation

isCALL Test if argument is a particular call

Description

Test if x is a call to the function given by name.

Used in newSimplification definitions.

Usage

isCALL(x, name)

Arguments

x

object to be tested

name

The function to test for.

Examples

x <- quote(mean(1:10))
isCALL(x, "mean")
isCALL(x, "sd")

nlsr documentation built on Sept. 8, 2023, 5:48 p.m.