API C_NewItems.IsNewItem

From Wowpedia
Jump to: navigation, search

Returns whether the item in the specified container slot is flagged as new.

newItem = C_NewItems.IsNewItem(bag, slot)

Arguments

bag 
Number (bagId) - container slot id.
slot 
Number - index of the slot within the container to query.

Returns

newItem 
Boolean - true if the item is flagged as new, false otherwise.

Details

Patch history

Mists of Pandaria Patch 5.4.0 (2013-09-10): Added.

See also