Global/isbool

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Line 10: Line 10:
 
|name=variable
 
|name=variable
 
|desc=The variable to perform the type check for.
 
|desc=The variable to perform the type check for.
 +
}}
 +
{{Ret
 +
|type=boolean
 +
|desc=True if the variable is a boolean.
 
}}
 
}}

Revision as of 20:47, 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