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
.
The SP_term_ref to be inspected
1 if the argument is a list cell and 0 otherwise.