false
Translation status: English reader-locale proof. Term names and code fences follow the en pack; supporting prose may still be English.
Represents the false boolean value and can prefix a falsity check.
Syntax: false [<expression>]
Category#
boolean
Related#
Examples#
radix/corpus/falsum/falsum.fab (canonical · keyword)#
Represents the false boolean value and can prefix a falsity check.
test "falsum is the false literal" {
const bool inactive ← false
assert inactive ≡ false
assert not inactive
}
test "falsum contrasts with verum" {
assert false ≠ true
assert false ≡ false
}
# =============================================================================
# false — Represents the false boolean value and can prefix a falsity check
# =============================================================================
#
# What this teaches:
# • Represents the false boolean value and can prefix a falsity check.
# • Related keywords: true, none
#
# Common mistakes:
# • Confusing `false` with `none` — `false` is a bool literal (false); `none` is the null/absent sentinel.
#
# See also: true, none
# =============================================================================
# false — false literal
#
# GRAMMAR:
# literal :← 'false'
#
# EXPECTED OUTPUT:
# Scalar stdout smoke (see body).
#
main {
const bool inactive ← false
print inactive
}Expected output:
falsum