test for membership in a data structure, function, or module
member(x, s, 'p')
set, list, rtable, table, function, or module
(optional) unevaluated name
The function member determines if x is a member of the set, list, Array, Matrix, Vector, table, function, or module s. It returns true if so, and false otherwise.
If s is a table, member tests whether x is a value in the table.
If a third argument 'p' is present and member yields true, the position of the first x in s is assigned to p in the case of sets, lists, and functions, while the member instance is assigned to the name p if s is a module.
The member command is thread safe as of Maple 15, provided that the name p, if used, is not shared between threads.
For more information on thread safety, see index/threadsafe.
m ≔ module_export⁡eend module:
The s parameter was updated in Maple 15.
Download Help Document
What kind of issue would you like to report? (Optional)