Function Option.isNothing

Tells if the option is just a value or nothing.

bool isNothing() const @property;

Returns

true if this Option contains a nothing, false if it contains a value.