The function involves an absolute value, which is defined for all real numbers. The range is determined by the maximum value of \( 2 - |x - 5| \), which is \( (-\infty, 2] \).
Step 2: Conclusion.
The correct answer is (B), Domain = \( \mathbb{R}, \) Range = \( (-\infty, 2] \).