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"
6.6m questions
8.7m answers