f[x_]:= {x,x}

?f

Clear[f]

?f

x=2

Clear[x]

?x

Remove[x]

?x