expand_term_2Version: NextOn this pageexpand_term/2 Description expand_term/2 is a predicate that expands a term (e.g., DCG rules). Signature expand_term(+Term, ?Expanded) Where: Term is the term to expand. Expanded is the expanded form of the term.