Garry's Mod Wiki

isbool

  boolean isbool( any variable )

Description

Returns if the passed object is a boolean.

Arguments

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

Returns

1 boolean
True if the variable is a boolean.