zig/doc/langref/optional_integer.zig

8 lines
113 B
Zig

// normal integer
const normal_int: i32 = 1234;
// optional integer
const optional_int: ?i32 = 5678;
// syntax