API:GetActionUsable

Find out if an action icon placed on an action bar can be used or not. This refers to the type of the item in the associated slotno, not if you can currently use it (the cooldown). For example if you use it to check a slotno with a consumable in it, it will always return true regardless of whether it is on cooldown.

Arguments

 * slotno
 * number - the slot number of an action bar.

Returns

 * flag
 * Boolean value.  if action is usable,   otherwise.

Related Functions

 * UseAction