Documentation Prolog Predicate Reference builtin term_variables/2

term_variables/2

Get variables of term.

Description

term_variables( +term, -list )

term_variables(Term, List) is true if and only if List is a list made up by the variables of Term, in order of appearance and with no repetition.

Implementation