Answer:
yes
Step-by-step explanation:
Yes.
The graph of y = 2x - 2 is a straight line sloping up to the right.
It passes the vertical line test, so it is a function.