Boolean Value

Boolean values are a fundamental type in the language, represented by several different literals that are case-insensitive.

boolean             ::= "true" | "false" | "yes" | "no" |
                        "on" | "off" | "enabled" | "disabled"   /* All literals are case-insensitive */

In the example below, you can see valid boolean values using different literals:

[main]
value a: True
value b: off
value c: YES
value d: Disabled

Rules

  1. Boolean Literals: A boolean value is created using one of the predefined literals from the list below. All literals are case-insensitive, meaning that any combination of upper or lower case letters is valid.

    True Value

    False Value

    true

    false

    yes

    no

    on

    off

    enabled

    disabled

Features

Feature

Coverage

core

Boolean values are part of the core language.