com.avsystem.commons.misc
Like Option but implemented as value class (avoids boxing) and treats null as no value. Therefore, there is no equivalent for Some(null).
null
Some(null)
If you need a value-class version of Option which differentiates between no value and null value, use NOpt.
Like Option but implemented as value class (avoids boxing) and treats
null
as no value. Therefore, there is no equivalent forSome(null)
.If you need a value-class version of Option which differentiates between no value and
null
value, use NOpt.