Factorio Prototype DocsVersion 1.1.107

bool builtin

A variable type which can have one of two values: true or false. Wikipedia has a comprehensive article on Booleans.

Booleans used in prototypes can also be be defined by other variable types which are then coerced to boolean values by the game. This type coercion differs from the standard Lua truthy/falsy coercion.

It is recommended to only use true and false.


Type used in

Prototypes

Types