Availability:C-language interface function
bool PL_get_bool_ex(term_t
t, int *i)As PL_get_bool(),
but raises a type or instantiation error if t is not a valid
boolean value (true
, false
, on
,
constoff, 1
or 0
). Note that the pointer is to
an
int
because C has no bool
type.