Documentation Prolog Predicate Reference builtin compound/1

compound/1

Check if compound.

Description

compound( @term )

compound(X) is true if and only if X is a compound term (neither atomic nor a variable).

Implementation