UnitItemLevels

Return item levels for a WowGameObject.

UnitItemLevels(--[[(1)]]objectReference) : number[]
  1. See Object Reference for more information on possible values.

Example

Check if an object is sitting.

local equipped, current, avg, max = UnitItemLevels('player')