3 ms·
How that works when you need to distinguish between "no value provided" and "a value that is not in the list" - in some applications they have different semanti
by janci 2y ago
How that works when you need to distinguish between "no value provided" and "a value that is not in the list" - in some applications they have different semantics.
- 101011 2y agoYou could treat it as an nullable Option<SomeType>. In practice, as it relates to enums, I don't usually see 'no value provided' as a frequently used case - it's more likely that 'no value provided' maps to a more informative 'enum' value