12.4.4.1 Testing the type of a term
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Foreign Language Interface
The Foreign Include File
Analysing Terms via the Foreign Interface
Testing the type of a term
PL_term_type()
PL_is_variable()
PL_is_ground()
PL_is_atom()
PL_is_string()
PL_is_integer()
PL_is_rational()
PL_is_float()
PL_is_callable()
PL_is_compound()
PL_is_functor()
PL_is_list()
PL_is_pair()
PL_is_dict()
PL_is_atomic()
PL_is_number()
PL_is_acyclic()
Packages
Availability:
C-language interface function
bool
PL_is_pair
(
term_t
)
Returns non-zero if
term
is a compound term using the list constructor. See also
PL_is_list()
and
PL_skip_list()
.