abs x
This is equivalent to the Python abs function.
i1 : abs toPython(-12) o1 = 12 o1 : PythonObject of class int
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Python/doc.m2:352:0.