fn getAttr(self: *const Die, id: u64) ?*const FormValue
self: *const Die
id: u64
224 225 226 227 228 229
fn getAttr(self: *const Die, id: u64) ?*const FormValue { for (self.attrs) |*attr| { if (attr.id == id) return &attr.value; } return null; }