API Frame IsFrameType
Talk0
98,585pages on
this wiki
this wiki
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.