Availability:C-language interface function
int PL_get_compound_name_arity(term_t
+t, atom_t *name, size_t *arity)If t is compound term, the functor name will be assigned over
name and the arity over arity. This is the same as
PL_get_name_arity(),
but this function fails if t is an atom.