Next: cpg-ref-SP_is_number, Previous: cpg-ref-SP_is_integer, Up: cpg-bif
SP_is_list()
#include <sicstus/sicstus.h> int SP_is_list(SP_term_ref term);
Determines whether the value of term is a Prolog list cell, i.e. a compound term with functor ./2.
term
./2
1 if it is a list and 0 otherwise.
Testing Prolog Terms.