Discuss this page on this pages TalkPage

itmHasAttribute

See itmHasAttribute at Xelerus

Syntax (itmHasAttribute item attrib) → True/Nil
Arguments item: The item you want to test
attrib: The attribute you want to test
Returns True if the 'item' contains the 'attrib', Nil otherwise
Category 0.99, condition query, item
Description Checks if an item has a given attribute.

Example

(itmHasAttribute (itmCreate &itLiquidOxygen; 1) "Volatile")

returns True Return to Functions list