12.3.50 SP_is_number()

Synopsis

     #include <sicstus/sicstus.h>
     
     int
     SP_is_number(SP_term_ref term);

Determines whether the value of term is a Prolog number.

Arguments

term
The SP_term_ref to be inspected

Return Value

1 if it is a number and 0 otherwise.

See Also

Testing Prolog Terms.


Send feedback on this subject.