Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API Frame IsFrameType

From WoW Classic Wiki
(Redirected from API UIObject IsObjectType)

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.