The equation of a function is y=-7x-12 if this function were graphed, what would its slope be?

The slope of a function is represented by the coefficient of x in the equation of the function.

In this case, the equation of the function is y = -7x - 12.

Therefore, the slope of the function is -7.