i1 : isConstant 3 o1 = true |
i2 : QQ[a,b][x,y]; |
i3 : isConstant (x+a-x) o3 = true |
i4 : isConstant x o4 = false |
/usr/share/Macaulay2/Core/enginering.m2:671:29-671:65: --source code: isConstant RingElement := r -> liftable(r, coefficientRing ring r)
The object isConstant is a method function.