Next: isgraph()
Up: MacAnova Help File
Previous: isfactor()
Contents
Usage:
isfunction(arg1 [, arg2, ...])
|
Keywords:
macros, general, variables
isfunction(arg) returns True if arg is a MacAnova function such as
describe(), sum() or regress() and False otherwise. If arg is
undefined, isfunction() returns False.
isfunction(arg1, arg2, ..., argk) returns a LOGICAL vector, each element
of which is True or False depending on whether or not the corresponding
argument is a MacAnova function.
The principal use of isfunction() is in checking the arguments of a
macro for appropriateness. See argvalue() for another way to check for
the properties of macro arguments.
Example:
Cmd> isfunction(PI, cos, boxcox, T) # returns vector(F,T,F,F)
See also topics isarray(), ischar(), isdefined(), isfactor(), isgraph(),
islogic(), ismacro(), ismatrix(), isname(), isnull(), isnumber(),
isreal(), isscalar(), isstruc(), isvector().
Gary Oehlert
2003-01-15