|
|
A Meta logical Constructs
-
var(X)
- True if X is a variable.var(X)
- nonvar
- True if X is not a variable.nonvar(X)
- atom(X)
- True if X is an atom.atom(X)
- integer(X)
- True if X is an integer.integer(X)
- atomic(X)
- True if X is an atom or a number.atomic(X)
- float(X)
- True if X is a floiting point number.float(X)
- functor(Term,Name,Arity)
- True if the arity of Term is Arity and his name Name.functor()
|
|