Next: ref-lte-met-usu, Up: ref-lte-met [Contents][Index]
The following predicates take a term as their argument. They are provided to check the type of that term. The reference pages for these predicates include examples of their use.
atom(+T) ISOterm T is an atom
atomic(+T) ISOterm T is an atom or a number
callable(+T) ISOT is an atom or a compound term
compound(+T) ISOT is a compound term
db_reference(+X) since release 4.1X is a db_reference
float(+N) ISON is a floating-point number
ground(+T) ISOterm T is a nonvar, and all substructures are nonvar
integer(+T) ISOterm T is an integer
mutable(+X)X is a mutable term
nonvar(+T) ISOterm T is one of atom, number, compound (that is, T is instantiated)
number(+N) ISON is an integer or a float
simple(+T)T is not a compound term; it is either atomic or a var
var(+T) ISOterm T is a variable (that is, T is uninstantiated)