Term Recognizers

NotFlex

Syntax call
NotFlex[
term ]
Input
term : a Mathematica expression
Output
False if term is a is a variable or a term with variable head.
True otherwise
Implementation

[Graphics:Termsgr2.gif][Graphics:Termsgr103.gif]
IsConstructorTerm

Syntax call
IsConstructorTerm[
t ]
Input
t
: a term
Output
True if t is of the form c or c [[Graphics:Termsgr104.gif], ..., [Graphics:Termsgr105.gif]], where c is a constructor,
False otherwise
Implementation

[Graphics:Termsgr2.gif][Graphics:Termsgr106.gif]
IsFunctionTerm

Syntax call
IsFunctionTerm[
t ]
Input
t
: a term
Output
True if t is of the form f or f [[Graphics:Termsgr107.gif], ..., [Graphics:Termsgr108.gif]], where f is a defined function symbol,
False otherwise
Implementation

[Graphics:Termsgr2.gif][Graphics:Termsgr109.gif]