Availability:built-in
compound_name_arity(?Compound, 
?Name, ?Arity)Version of functor/3 
that only works for compound terms and can examine and create compound 
terms with zero arguments (e.g, name()). See also compound_name_arguments/3. 
See also functor/4.