API IsResting

Returns true if the character is currently resting.
 resting = IsResting()
==Returns==
:;resting: - Whether the player is resting
==Details==
: You are Resting if you are in an Inn or a Major City like Ironforge or Orgrimmar.
: While resting, the player will gain XP Bonus.
==See Also==
* Rested
* Resting at the Official site.