IsItemStolen
ESO Lua API function — used by 52 of the 3,030 addons we indexed (combined 9,007,015 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.
Official signature
IsItemStolen([Bag|#Bag] bagId, integer slotIndex)Returns: bool itemStolen
Real usage — from Advanced Filters - Updated (Inventory sub- & dropdown plugin filters)
if isABankDepositPanel or isVendorPanel or not isNoCrafting or isGuildStoreSellPanel or isFencePanel or isLaunderPanel or isMailSendPanel then
isItemStolen = IsItemStolen(bagId, slotIndex)
Short excerpt from the shipping addon Advanced Filters - Updated (Inventory sub- & dropdown plugin filters) — its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.
Most-downloaded addons using it
| Addon | Total downloads |
|---|---|
| Advanced Filters - Updated (Inventory sub- & dropdown plugin filters) | 2,602,223 |
| LibFilters-3.0 | 2,063,617 |
| Loot Log | 1,608,502 |
| AlphaGear 2 (Builds, Gear, Skills, Banking) | 848,683 |
| Info Panel | 368,274 |
| LootDrop Reborn | 192,278 |