Optional.empty

Check if the optional type is empty

struct Optional(T)
@property const
bool
empty
()

Return Value

Type: bool

true if the value is not defined, false otherwise

See Also

defined()

Meta