Returns whether the object belongs to a given widget type

Signature:

isType = UIObject:IsObjectType("type")

Arguments:

  • type - Name of an object type (e.g. Frame, Button, FontString, etc.) (string)

Returns:

  • isType - 1 if the object belongs to the given type (or a subtype thereof); otherwise nil (1nil)