language.operators · operator ·
&
Keep integer bits present in both values.
A focused reference with a complete example. Numeric widths and experimental types still depend on the selected backend.
&Status: documented
Use &
Keep integer bits present in both values.
cpu · language · operator · type checked
int flags = 6
int result = flags & 1
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.operator__symbol_951dce"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
Notes and source
demonhunterlabs/app/lib/yeho-language-reference.ts