3 ms·
Yeah, but using a raw boolean or Boolean is not considered good practice. They’re up to at least four states now: null, None, Some(TRUE) and Some(FALSE) Of c
by hedora 3y ago
Yeah, but using a raw boolean or Boolean is not considered good practice. They’re up to at least four states now:
null, None, Some(TRUE) and Some(FALSE)
Of course, if you want more than that, you can have unboundedly many by invoking new Boolean(), which guarantees its return value is unique according to ==