language.operators · operator ·
?
Allow a reference type to also hold null.
A focused reference with a complete example. Numeric widths and experimental types still depend on the selected backend.
?Status: documented
Complete nullable types example
Use only when deliberately running the comparison oracle. In Kyber-ready code, model absence explicitly with a bool, enum, or sentinel thing.
cpu · language · type checked
class Pilot { text name = "Nova" }
Pilot? selected = null
if selected == null { Console.Log("Choose a pilot") }
project.mech
manifestVersion = "2"
package = "api.example.language__nullable_values"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
Notes and source
demonhunterlabs/app/lib/yeho-language-reference.ts