When the x-value repeats, that is called function, and when the x-values are distinct, then it is not a function.