Boolean

From Valve Developer Community
Revision as of 12:21, 24 March 2018 by ReverendV92 (talk | contribs) (Added information on booleans in other file types in the engine)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Deutsch Русский

A boolean value is a toggle used in programming that is inherently exclusively either "on" or "off". When enabled it is denoted with true or 1, and with false or 0 when disabled, depending on the syntax of the language being used.

Its use varies in different areas of the engine:

Certain file types used in Source also do not typically use booleans: