UnitShapeShiftID

Returns a WowGameObject shapeshift ID.

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

Example

Check if the object is shapeshifted.

local isshifted = UnitShapeShiftID('target')
if isshifted then
print("Druids and warriors are not cool!")
end