isCALL function

isCALLTest if argument is a particular call

isCALL

Test if argument is a particular call

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

Used in newSimplification definitions.

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")
  • Maintainer: John C Nash
  • License: GPL-2
  • Last published: 2023-09-05

Useful links