I was reading a bit about open sets and wondered whether one could say that a subset of $\mathbb R $ is open if and only if it has neither a maximum nor a minimum. I tried searching for an answer online but didn't find anything on the matter. I can imagine that no one uses it since it doesn't translate that well to the $ \mathbb R^n$ as the $ \epsilon$-Neighbourhoods.
But nevertheless I'd like to know if my statement is wrong and if so where, just to get a better grasp of the topic.