Next: cpg-ref-SP_unget_byte, Previous: cpg-ref-SP_string_from_atom, Up: cpg-bif
SP_term_type()
#include <sicstus/sicstus.h> int SP_term_type(SP_term_ref term);
Determines the type of the value of term.
term
One of:
SP_TYPE_VARIABLE
SP_TYPE_INTEGER
SP_TYPE_FLOAT
SP_TYPE_ATOM
SP_TYPE_COMPOUND
SP_TYPE_ERROR
Testing Prolog Terms.