Garry's Mod Wiki
Boolean Values
The most basic element of logic, either true
or false
.
Booleans are used to represent the outcome of a conditional statement. Provided below are some useful links:
Example
Demonstrates how conditional statements treat booleans.
Output: Value is true!
Example
Inverting a boolean is often very useful. The easiest way to do that is to use the "not" operator.
Output: Boolean has been inverted and is now true!
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...