Answer
Not a function.
Domain: $\{-2,-1,0,1,2\}.$
Range: $\{-2,-1,1,3\}.$
Work Step by Step
The Vertical Line Test says that every vertical line drawn can only intersect the graph in at most one point for the graph to represent a function. Here this fails at $x=-1$, hence it is not a function.
Domain: $\{-2,-1,0,1,2\}.$
Range: $\{-2,-1,1,3\}.$