-
Notifications
You must be signed in to change notification settings - Fork 2
System.True
Dennis Göhlert edited this page Oct 25, 2021
·
8 revisions
const True = 1
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.
Texts, images and code samples on this page are available under MPL 2.0 license