isMember(x, y)This tests whether x is a member of y. This is equivalent to x in y in Python.
|
|
If one of the arguments is a Macaulay2 object, then it is first converted to a Python object before testing for membership.
|
|
When used with dictionaries, which are Python's equivalent of Macaulay2 hash tables, the keys are tested for membership. In this sense, it is like the Macaulay2 #? and .? operators.
|
|
The source of this document is in Python/doc.m2:679:0.