The answer is YES, it is a function.
A function is simply a relationship between two sets of numbers usually referred to as an "ordered pair"
8.8m questions
11.4m answers