This function is a method function, defined in the core so multiple packages can add methods to it.
The object complete is a method function.
The source of this document is in Macaulay2Doc/shared.m2:21:0.