WoW:API Frame IsFrameType

From AddOn Studio
Revision as of 11:22, 7 March 2006 by WoWWiki>WoWWiki-Asmodai (Add first stab at details for this API function.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.


Template:WoW API