SP_is_atom()
#include <sicstus/sicstus.h> int SP_is_atom(SP_term_ref term);
Determines whether the value of term is a Prolog atom.
term
The SP_term_ref to be inspected
1 if it is a atom and 0 otherwise.
Testing Prolog Terms.