The object degrees is a method function.
The source of this document is in Macaulay2Doc/functions/degrees-doc.m2:7:0.