Garry's Mod Wiki

ispanel

  boolean ispanel( any variable )

Description

Returns if the passed object is a Panel.

Arguments

1 any variable
The variable to perform the type check for.

Returns

1 boolean
True if the variable is a Panel.