Function Recognizers

IsConstructor

Syntax call
IsConstructor[
c ]
Input
c : a Mathematica expression
Output
True if c is a constructor symbol
False otherwise
Implementation

[Graphics:Termsgr2.gif][Graphics:Termsgr98.gif]
IsDefinedFunctionSymbol

Syntax call
IsDefinedFunctionSymbol[
f ]
Input
f : a Mathematica expression
Output
True if f is a defined function symbol
False otherwise
Implementation

[Graphics:Termsgr2.gif][Graphics:Termsgr99.gif]
IsExternal

Syntax call
IsExternal[
f ]
Input
f : a Mathematica expression
Output
True if f is an external function symbol
False otherwise
Implementation

[Graphics:Termsgr2.gif][Graphics:Termsgr100.gif]
IsDeclared

Syntax call
IsDeclared[
f ]
Input
f : a Mathematica expression
Output
True if f is a defined function symbol or a constructor or an external function symbol
False otherwise
Side Efect
display a warning message if f is already defined
Implementation

[Graphics:Termsgr2.gif][Graphics:Termsgr101.gif]
IsFunctionSymbol

Syntax call
IsFunctionSymbol[
f ]
Input
f : a Mathematica expression
Output
True if f is a defined function symbol or a constructor or an external function symbol
False otherwise
Implementation

[Graphics:Termsgr2.gif][Graphics:Termsgr102.gif]