This is the definition of an increasing and decreasing function.
"A function $f(x)$ increases on an interval I if $f(b)≥f(a)\;\;\forall b>a$, where $a,b \in I$. If $f(b)>f(a) \;\;\forall \;\;b>a$, the function is said to be strictly increasing.
Conversely, A function $f(x)$ decreases on an interval I if $f(b)≤f(a)\;\;\forall b>a$, where $a,b \in I$. If $f(b)<f(a) \;\;\forall \;\;b>a$, the function is said to be strictly decreasing.
Then how would a horizontal line be described? If $f(x_2)=f(x_1)\;\; \forall x_2>x_1$ does that mean that a horizontal line meets the definition of an increasing function and a decreasing function?