API Frame IsFrameType

104,546pages on
this wiki
Add New Page
Add New Page Talk0
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.

Also on Fandom

Random Wiki