value x
This function attempts to convert x to its corresponding Macaulay2 equivalent.
|
|
Since the type of x is not initially known, a sequence of hooks are used to determine its type and then convert it.
|
If no conversion can be done, then x is returned.
|
|
Users may add additional hooks using addHook or the convenience function addPyToM2Function.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Python/doc.m2:424:0.