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