Discuss this page on this pages TalkPage
typHasAttribute
Syntax | (typHasAttribute unid attrib) |
Arguments | unid: The unid you want to check for attributes. |
| attrib: attribute to check for |
Returns | True if successful, Nil otherwise |
Category | type, unid, attributes |
Description | Use for checking if a type holds an attribute. |
Example
(objHasAttribute "&scCorsair;" 'charonPirates)
Returns “true”.
Return to type functions list
Return to Functions list