Widget API: Frame:IsFrameType
Jump to navigation
Jump to search
← Widget API ← Frame < IsFrameType
Synopsis[edit]
boolean isType = Frame:IsFrameType("typeName");
Description[edit]
Frame:IsFrameType() returns true if the frame is of type typeName, or a subtype of typeName, false if not.
Examples[edit]
local isButton = getglobal("QuestLogCollapseAllButton"):IsFrameType("button");
The above should return true.