Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns if the unit is a battle pet.
isBattlePet = UnitIsBattlePet(unit)
Arguments[]
- unit
- string : UnitId
Returns[]
- isBattlePet
- boolean
Patch changes[]
Patch 5.1.0 (2012-11-27): Added.[1]
References[]
- ^ 2012-11-13, TargetFrame.lua, version 5.1.0.16309, near line 811, archived at Townlong-Yak