Next: cpg-ref-SP_is_variable, Previous: cpg-ref-SP_is_list, Up: cpg-bif [Contents][Index]
SP_is_number()
#include <sicstus/sicstus.h> int SP_is_number(SP_term_ref term);
Determines whether the value of term
is a Prolog number.
The SP_term_ref to be inspected
1 if it is a number and 0 otherwise.