var/1
var(+Term)
var(
)
Term is currently uninstantiated.
| ?- var(foo(X,Y)). no | ?- var([X,Y]). no | ?- var(X). true ; no | ?- Term = foo(X,Y), var(Term). no
ref-lte-met-typ.