The object rootSystemG2 is an instance of the type RootSystem.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/WeylGroups.m2:1772:0.