Odd or even function Show whether the function f  is odd , even or other wise 
Where $$f(x) = 2 , x\in ]0,\infty[ , f(x) =- 2 , x\in ]-\infty , 0]$$
I think that the function is odd because it is symmetric around the origin point , for the value 0 in the domain since -0=0 , f(0) and f(-0) can not be the additive inverse to each other ? Does the answer correct or not

It is not odd due to the reason that $f(0) \neq - f(0)$ (By definition of an odd function $f(-x) = -f(x) $ is satisfied in every $x$ and $-x$ in the domain) . It is obviously not even either. 
