compound/1
compound(+Term)
compound(
)
Term is currently instantiated to a compound term.
| ?- compound(9). no | ?- compound(a(1,2,3)). yes | ?- compound("a"). yes | ?- compound([1,2]). yes
ref-lte-met-typ.