The full specification without any variables left is, i.e. all variables have a specific value, for ##f(x)=x^2##
$$
D_pf(x) =\lim_{h\to 0}\dfrac{f(p+h)-f(p)}{h}=\left. \dfrac{d}{dx}\right|_{x=p} f(x) = f\,'(p) = 2p
$$
is a real number.
Note the ambiguity of ##x##. It is the variable of the function ##f(x)## and at the same time often the location ##p## where we evaluate the derivative, because people write ##f\,'(x) ## when they should write ##f\,'(p)\,.##
Of course ##p \longmapsto f\,'(p) ## is again a function and the domain is the same as that of ##f(x)## so there is no difference in writing ##x \longmapsto f\,'(x) ## instead. But do they mean this function, the derivative, or do they mean the function value, the slope? This isn't the same thing. If we say ##f(x)## we are used to associate the function, not its value at ##x##. But if we say slope or tangent, then this makes only sense at a certain point, hence the function value ##f\,'(p)## and not the function ##x \longmapsto f\,'(x)## itself, which is the derivative.
If you like to get more confused, have a look at:
https://www.physicsforums.com/insights/the-pantheon-of-derivatives-i/