f:R→R,f(x)=∣x∣+1∣x∣−1
For x=0,f(x)=−1
And f(x)=1+∣x∣11−∣x∣1
If x→±∞,f(x)→1
Thus, the graph of the function f(x) is given by

If a line parallel to the x-axis intersects the graph of a function at more than one point, then the function is many-one.
And, it is clear from the graph that, the given function is many-one.
Also, the range of the function is [−1,1) which is not same as the co-domain which is R and if the co-domain of a function and range are not same then the function is not onto.
Hence, the given function is neither one-one nor onto.