-
Notifications
You must be signed in to change notification settings - Fork 2
System.True
Dennis G edited this page May 10, 2022
·
8 revisions
const True = \built-in\
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