It is a function.
Work Step by Step
In order for something to be a function, every input must have exactly one output. (While different inputs may have the same output, one input cannot have two outputs.) Because every input has no more than one output, the given pairs represent a function.