hasattr(x, y)
This is equivalent to the Python hasattr function.
|
|
|
The object hasattr is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Python/doc.m2:592:0.