GetItemHasItemProperty(object, int)

Check whether an item has a given property.

int GetItemHasItemProperty(
    object oItem,
    int nProperty
);

Parameters

oItem

Item to be checked.

nProperty

ITEM_PROPERTY_*


Description

Returns TRUE if oItem has nProperty.
Returns FALSE if oItem is not a valid item, or if oItem does not have nProperty.



Version

1.22

See Also

functions: GetBaseItemType | GetIsMagical | IPGetHasItemPropertyByConst | IPGetItemHasProperty
categories: Get Data from Object Functions
constants: ITEM_PROPERTY_* Constants


 author: Jason Harris, editor: Kristian Markon