Skip to content

System.True

Dennis Göhlert edited this page Oct 25, 2021 · 8 revisions

Declaration

const True = 1

Description

The True constant in the System package represents the true-value of a boolean expression. It is represented by 1 and invokes the then-branch when used in a conditional context (ie. in an if statement). In MFL, True is declared as a positive integer of 1. This does not mean however that truthy values are limited to exactly this, but it is the one supported by the Boolean type.

See also

Clone this wiki locally