4.21.1 Non-logical operations on terms
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Analysing and Constructing Terms
          • Non-logical operations on terms
            • setarg/3
            • nb_setarg/3
            • nb_linkarg/3
            • duplicate_term/2
            • same_term/2
    • Packages
Availability:built-in
[semidet]same_term(@T1, @T2)
True if T1 and T2 are equivalent and will remain equivalent, even if setarg/3 is used on either of them. This means T1 and T2 are the same variable, equivalent atomic data or a compound term allocated at the same address.