API UnitIsConnected

Returns true if the unit is connected to the game (i.e. not offline), false otherwise. isOnline = UnitIsConnected(unit)

Arguments

 * unit : string

Returns

 * isConnected : boolean