Panel.IsValid
From GMod Wiki
| Function | |
| Syntax | Panel:IsValid( ) |
| Description: | |
| Returns whether or not the panel is valid/created. | |
| Returns: | Boolean |
| In Object: | Panel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Panel.IsValid]Panel.IsValid [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Determine whether Window is valid/created or not. |
|---|---|
| Used on | |
| Code | if Window:IsValid( ) then --If True else --If False end |
| Output | False |