Widget API: Frame:IsFrameType
Jump to navigation
Jump to search
← Widget API ← Frame < IsFrameType
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.