Answer
not one-to-one
Work Step by Step
The Horizontal Line Test says that if all horizontal lines drawn intersect the graph of the function at at most one point, then the function is one-to-one.
This function doesn't pass the Horizontal Line Test because a horizontal line like $y=2$ passes through two points on the graph. Hence the function is not one-to-one.