The object vars is a method function with a single argument.
The source of this document is in Macaulay2Doc/functions/vars-doc.m2:9:0.