functor_3Version: NextOn this pagefunctor/3 Description functor/3 is a predicate that relates a compound term with its functor name and arity. Signature functor(?Term, ?Name, ?Arity) Where: Term is the compound term. Name is the functor name. Arity is the number of arguments.