Garry's Mod Wiki

menubar.IsParent

  boolean menubar.IsParent( Panel pnl )

Description

Checks if the supplied panel is parent to the menubar

Arguments

1 Panel pnl
The panel to check

Returns

1 boolean
Is parent or not