check for a symbol with a given suffix
type(x, suffixed(y, stype))
symbol, string, or set or list of either symbols or strings
A call to type suffixed with one parameter checks whether a symbol or string x has the same type as y, and x begins with the characters of y.
With two parameters, x is checked to see if it has the same type of and begins with the characters of y and that the balance, when parsed, is of type stype.
If y is a set or list, then x is checked against each operand of y.
Note that x and "x" are considered to be of type suffixed(x) and suffixed("x"), respectively. Also note that parse will automatically simplify the balance, so "x6/2" and "x4!" is an "x" suffixed by the integers 3 and 24, respectively.
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.