Vanilla WoW Wiki
Advertisement

GetBindingByKey("key")

This returns whatever is bound to "key", be it a spell or an action or a click. If there is no binding, it returns nil (whereas GetBindingAction will return a blank string).

Advertisement