This function is a method function, defined in the core so multiple packages can add methods to it.
The object height is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Macaulay2Doc/shared.m2:7:0.