Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API FlyoutHasSpell

From Wowpedia
Jump to: navigation, search

Returns whether a flyout contains a specific spell.

hasSpell = FlyoutHasSpell(flyoutID, spellID)

Arguments

flyoutID 
Number - flyout ID (as returned by GetSpellBookItemInfo or GetActionInfo).
spellID 
Number - spell ID.

Returns

hasSpell 
Boolean - true if the flyout contains the specified spell, false otherwise.

Patch history

Mists of Pandaria Patch 5.1.0 (2012-11-27): Added.