Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(Add first stab at details for this API function.)
 
({{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

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.