1const std = @import("std");
2const string = []const u8;
3const extras = @import("./lib.zig");
4const root = @import("root");
5
6pub fn globalOption(comptime name: []const u8, comptime T: type) ?T {
7 if (!@hasDecl(root, name)) return null;
8 return @as(T, @field(root, name));
9}