const std = @import("std");
pub fn main() void {
// an optional holds a value or null, checked with if-capture
var maybe: ?i32 = null;
maybe = 42;
// orelse supplies a default when it is null
const got = maybe orelse -1;
std.debug.print("{d}\n", .{got});
}?T guards against a missing value