# false

Boolean false literal

Last updated: 2026-09-09

Package: language | Status: stable

Tags: complete-program, cpu, keyword, values, yeho

Use literals for small values that are obvious at the point of use. Give repeated domain values a named field or function.

```yh
false
```


## Short circuit

Use literals for small values that are obvious at the point of use. Give repeated domain values a named field or function.

Verification: type checked

```yh
list of int empty = []
bool andResult = false and empty[0] == 1
bool orResult = true or empty[0] == 1

if !andResult and orResult
{
    Console.Log("short-circuit-ok")
}
else
{
    Console.Log("short-circuit-bad")
}

```

Save this beside start.yh as project.mech:

```toml
package = "tests.compiler.fastContract.shortCircuit"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/word--false/complete --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


Supported escapes include \\, \n, \r, \t, \0, escaped quotes, and Unicode \u{...}.

Interpolated text and hex, binary, or separator numeric literals are not admitted.

Source: yeho/docs/language/language-core.md §2.6-2.9; lexer literal fixtures

AI training permission: https://demonhunterlabs.com/ai-use
