{"id":"language--text-char-rune-bool","name":"Text, char, rune, and bool","owner":"yeho","package":"language","kind":"language","signature":"text name = \"...\"\nchar name = 'x'\nrune name = ...\nbool name = true","description":"text is an owned text value, char is a character literal unit, rune represents a Unicode scalar, and bool is true or false only.","context":"Use text for words and messages, rune when Unicode scalar identity matters, and bool for decisions.","parameters":[],"returns":"","members":[],"tags":["bool","char","cpu","language","rune","text","values","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"docs/language/language-core.md §3.2 and §3.7; memory-lifetime-unsafe-2026.1.json"},"status":"stable","notes":["text is the preferred spelling. string is deprecated.","Conditions require bool. Numbers, text, null, and collections are not truthy or falsy."],"examples":[{"id":"complete-0","title":"Text and decisions","description":"Use text for words and messages, rune when Unicode scalar identity matters, and bool for decisions.","code":"text name = \"Ada\"\nchar grade = 'A'\nbool admitted = Text.Length(name) > 0 and grade == 'A'\nConsole.Log(Text.From(admitted))\n","tags":["cpu","language"],"run":"cpu-oracle","expected":null,"verifyRun":false,"manifest":"manifestVersion = \"2\"\npackage = \"api.example.language__text_char_rune_bool\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n","verification":"type checked","sha256":"d939cdca2a656255f9573bf2f4e96282db5ad8cb99ab8dd1d96c1083fef20e39","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=language--text-char-rune-bool","json":"https://demonhunterlabs.com/reference/items/language--text-char-rune-bool.json","markdown":"https://demonhunterlabs.com/reference/text/language--text-char-rune-bool.md"}
