language · language ·

Text, char, rune, and bool

text is an owned text value, char is a character literal unit, rune represents a Unicode scalar, and bool is true or false only.

boolcharcpulanguagerunetextvaluesyeho

Use text for words and messages, rune when Unicode scalar identity matters, and bool for decisions.

text name = "..."
char name = 'x'
rune name = ...
bool name = true

Status: stable

Text and decisions

Use text for words and messages, rune when Unicode scalar identity matters, and bool for decisions.

cpu · language · type checked

text name = "Ada"
char grade = 'A'
bool admitted = Text.Length(name) > 0 and grade == 'A'
Console.Log(Text.From(admitted))
project.mech
manifestVersion = "2"
package = "api.example.language__text_char_rune_bool"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"
Notes and source

text is the preferred spelling. string is deprecated.

Conditions require bool. Numbers, text, null, and collections are not truthy or falsy.

yeho/docs/language/language-core.md §3.2 and §3.7; memory-lifetime-unsafe-2026.1.json