Next: cpg-ref-SP_unget_byte, Previous: cpg-ref-SP_string_from_atom, Up: cpg-bif [Contents][Index]
SP_term_type()#include <sicstus/sicstus.h> int SP_term_type(SP_term_ref term);
Determines the type of the value of term.
The SP_term_ref to be inspected
One of:
SP_TYPE_VARIABLEa variable
SP_TYPE_INTEGERan integer
SP_TYPE_FLOATa float
SP_TYPE_ATOMan atom
SP_TYPE_COMPOUNDa compound term
SP_TYPE_ERRORan error occurred.