Ok, I see ...
Say we have the following definition:
f[n_Integer] := Fibonacci[n]
f[x_Real] := Sin[x]
f[s_String] := PalindromeQ[s]
then we get e.g.:
Thread[f[{4, 4., "4"}]]
(* Out: {3,-0.7568024953079282`,True} *)
Those definitions are a matter of DownValues
:
DownValues[f]
(* Out: {HoldPattern[f[x_Real]]\[RuleDelayed]Sin[x],HoldPattern[f[s_String]]\[RuleDelayed]PalindromeQ[s],HoldPattern[f[n_Integer]]\[RuleDelayed]\Fibonacci[n]} *)
Now if the definition regarding the integer argument should be deleted, one can do this by explicitly setting these DownValues
:
DownValues[f] = {HoldPattern[f[x_Real]] :> Sin[x], HoldPattern[f[s_String]] :> PalindromeQ[s]};
or like
DownValues[f] = Most@DownValues[f];
Regards -- Henrik