If ReturnMap is set to true, then instead of embedAsIdeal converting a module into an isomorphic ideal, this also returns the map from the module to the ring.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Divisor.m2:3283:0.