WoWWiki-Asmodai@legacy41582652 (talk | contribs) (Add first stab at details for this API function.) |
Mikk38024@legacy41558003 (talk | contribs) ({{widgetmethod}}) |
||
Line 1: | Line 1: | ||
+ | {{widgetmethod}} |
||
+ | |||
== Synopsis == |
== Synopsis == |
||
Line 12: | Line 14: | ||
The above should return true. |
The above should return true. |
||
− | |||
− | ---- |
||
− | {{Template:WoW API}} |
Revision as of 11:58, 10 June 2006
The API is no longer being updated here until further notice. |
Synopsis
boolean isType = Frame:IsFrameType("typeName");
Description
Frame:IsFrameType() returns true if the frame is of type typeName, or a subtype of typeName, false if not.
Examples
local isButton = getglobal("QuestLogCollapseAllButton"):IsFrameType("button");
The above should return true.