Panel.IsValid

From GMod Wiki

Jump to: navigation, search
Function
Syntax Panel:IsValid( )
Description:
Returns whether or not the panel is valid/created.
Returns: Boolean
In Object: Panel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Panel.IsValid]Panel.IsValid [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionDetermine whether Window is valid/created or not.
Used onNewerClient.png
Code
 
if Window:IsValid( ) then
  --If True
else
  --If False
end
 
OutputFalse
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox