API UIObject IsObjectType

Returns whether the object belongs to a given widget type. isType = UIObject:IsObjectType(type)

Argument

 * type : string - Name of the widget type.

Return

 * isType : boolean - Returns true if the widget object is of that type, or any of its parent classes.