11.3.41 compound/1 [ISO]

Synopsis

compound(+Term)

Term is currently instantiated to a compound term.

Arguments

Term
term

Examples

     | ?- compound(9).
     
     no
     | ?- compound(a(1,2,3)).
     
     yes
     | ?- compound("a").
     
     yes
     | ?- compound([1,2]).
     
     yes

See Also

ref-lte-met-typ.


Send feedback on this subject.