API:UnitIsMine

__NOTOC__
UnitLevel
Determines if a unit is mineable (i.e. a resource that can be gathered, like herbs, wood, ore, and I think quest items)
UnitIsMine( unit )
== Arguments ==
:; unit - 
:: UnitId ("mouseover" is probably the only useful UnitId for this)
== Returns ==
::Boolean - true if it can be gathered, false if it can't, and nil if the unit doesn't exist
== Example ==
if UnitIsMine("mouseover") then
 ChatFrame1:AddMessage("Found resource: " .. GameTooltipTextLeft1:GetText())
end
== Related Functions ==
* UnitMineMsg