Answer
$\text{slope is undefined}$
Work Step by Step
$\bf{\text{Solution Outline:}}$
Use the slope of lines that have equation in the form $x=a.$
$\bf{\text{Solution Details:}}$
Using the properties of equality, the given equation is equivalent to
\begin{array}{l}\require{cancel}
x-2=0
\\\\
x=2
.\end{array}
Linear equations in the form $x=a$ are vertical lines whose slope is undefined. Hence, the $
\text{slope is undefined}
.$