Optional.opEquals

Compares this optional with an empty None value

This will basically tells whether the optional is empty or not.

Return Value

Type: bool

true if there's a defined value, false otherwise

Meta