Inspect.Tooltip

Returns the current contents of the tooltip.

Usage:

type, shown = Inspect.Tooltip()
type, unit, buff = Inspect.Tooltip()
ParameterTypeDatatypeDescription
buffresultbuffThe ID of the tooltip's buff.
shownresultvariant, nilThe blob describing what is currently shown. Generally, some kind of identifier used in another part of the addon system.
typeresultstring, nilThe current tooltip type. Valid values include "ability", "buff", "item", "itemtype", and "unit".
unitresultunitThe unit that the buff is attached to.