The equation of the function \( y = -7x - 12 \) is in slope-intercept form, which is \( y = mx + b \), where \( m \) represents the slope and \( b \) represents the y-intercept.
In your equation, \( m = -7 \).
Therefore, the slope of the function is -7.