Step 1: Rewrite the function:
For \(x>0\): \(|x|=x\), so \(f(x)=\dfrac{x-x}{x}=0\). For \(x<0\): \(|x|=-x\), so \(f(x)=\dfrac{2x}{x}=2\).
Step 2: Check x not equal to 0:
On each side of 0 the function is a constant (0 or 2), so it is continuous at every \(x\neq0\).
Step 3: Check x = 0:
Left limit \(=2\), right limit \(=0\). These are not equal, so the limit does not exist at 0, and \(f\) is discontinuous at \(0\) even though \(f(0)=2\).
Step 4: Conclusion:
The function is continuous for all \(x\) except \(x=0\). Option B.
Final Answer:
f is continuous everywhere except at 0.
\[ \boxed{\text{(B) }\text{continuous for all }x\text{ except at }x=0} \]