API C NewItems.IsNewItem

Returns true if the item in the inventory slot is flagged as new.
 isNew = C_NewItems.IsNewItem(containerIndex, slotIndex)
==Arguments==
:;containerIndex: - BagID of the container.
:;slotIndex: - of the inventory slot within the container.
==Returns==
:;isNew: - Returns true if the inventory slot holds a newly-acquired item; otherwise false (empty slot or a non-new item).
==Patch changes==
==See also==
* - Used by FrameXML/ContainerFrame.lua to clear the new-item flag after interacting with the new item or closing the bags.
* - Used by FrameXML/ContainerFrame.lua to emphasise recent purchases from the In-Game Store.
==References==