Global/isbool

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (Also menu state)
 
Line 3: Line 3:
 
|Parent=Global
 
|Parent=Global
 
|Description=Returns if the passed object is a {{Type|boolean}}.
 
|Description=Returns if the passed object is a {{Type|boolean}}.
|Realm=Shared
+
|Realm=Shared and Menu
 
|IsClass=No
 
|IsClass=No
 
}}
 
}}

Latest revision as of 17:13, 10 July 2016

 isbool( )

Description

Returns if the passed object is a boolean.

Arguments

any variable

The variable to perform the type check for.

Returns

boolean

True if the variable is a boolean.
Personal tools
Navigation