I read this question:what is a function
Here comes my question, Can we call following a increasing function (or may not even a function):
$$ f:[0,1]\rightarrow\mathbb{R}\\ f(x)= \begin{cases} x,& x\in[0,1/3]\\ 2x,& x\in[2/3,1]\\ \end{cases} $$
For my understanding, I would say this it not even a function since there's no image of domain $(1/3,2/3)$, am I right?