API UnitIsTapDenied

Indicates a mob is no longer eligible for tap.
 unitIsTapDenied = UnitIsTapDenied(unit)
==Arguments==
:;unit: : UnitId
==Returns==
:;unitIsTapDenied:
==Example==
The following code in FrameXML grays out the target frame when the target is tap denied:
function TargetFrame_CheckFaction (self)
	if ( not UnitPlayerControlled(self.unit) and UnitIsTapDenied(self.unit) ) then
		self.nameBackground:SetVertexColor(0.5, 0.5, 0.5);
		if ( self.portrait ) then
			self.portrait:SetVertexColor(0.5, 0.5, 0.5);
		end
	else
		self.nameBackground:SetVertexColor(UnitSelectionColor(self.unit));
		if ( self.portrait ) then
			self.portrait:SetVertexColor(1.0, 1.0, 1.0);
		end
	end
 -- the function continues with activities not relevant to this example
end
==Patch changes==