pub fn toBool(db: DefaultingBool) ?bool db: DefaultingBool2002
2003
2004
2005
2006
2007
2008 pub fn toBool(db: DefaultingBool) ?bool {
return switch (db) {
.false => false,
.true => true,
.default => null,
};
}