Global/isbool

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
|Name=isbool
 
|Name=isbool
 
|Parent=Global
 
|Parent=Global
|Description=Returns if the passed object is a boolean.
+
|Description=Returns if the passed object is a {{Type|boolean}}.
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=No
 
|IsClass=No
Line 13: Line 13:
 
{{Ret
 
{{Ret
 
|type=boolean
 
|type=boolean
|desc=True if the variable is a boolean.
+
|desc=True if the variable is a {{Type|boolean}}.
 
}}
 
}}

Revision as of 20:52, 5 February 2014

 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