Optional class to handle nullable values. Tries to mimic Java's Optional class. Doesn't really add much value, but it's a nice reminder for the developper to always check for null values.
Optional
Where the wrapped value is null
Returns the value as the not nullable type.
The original value
Static
No Self
Optional class to handle nullable values. Tries to mimic Java's
Optional
class. Doesn't really add much value, but it's a nice reminder for the developper to always check for null values.