Skip to main content

term_compare

Function term_compare 

Source
pub unsafe extern "C" fn term_compare(a: Term, b: Term) -> i64
Expand description

Compare two terms for ordering. @param a The first term. @param b The second term. @return An integer value indicating the ordering: 0 if both terms are equal, -1 if a < b, and 1 if b > a.