Garry's Mod Wiki

Panel:Valid

  boolean Panel:Valid()

Description

We advise against using this. It may be changed or removed in a future update. Use Panel:IsValid instead.

Returns if a given panel is valid or not.

Returns

1 boolean
Whether the panel is valid or not, true being it is, false being it isn't.