API UnitPlayerOrPetInRaid

Returns true if a different unit or pet is a member of the raid.
 inRaid = UnitPlayerOrPetInRaid(unit)
==Arguments==
:;unit: : UnitId
==Returns==
:;inRaid:
==Details==
* Returns nil for player and pet as of 3.0.2
==Example==
 local TargetInRaid = UnitPlayerOrPetInRaid("target")
====Result====
 TargetInRaid = 1 - If your target is in your raid group.
 TargetInRaid = nil - If your target is not in raid group.