API:UnitIsMine

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

Related Functions

 * UnitMineMsg