f/:lhs=.
removes any rules defined for lhs, associated with the symbol f.
TagUnset 
f/:lhs=.
removes any rules defined for lhs, associated with the symbol f.
Details
- Rules are removed only when their left‐hand side is identical to lhs, and the tests in Condition given on the right‐hand side are also identical.
Examples
open all close allBasic Examples (1)
h/:f[h[x_]] := fh[x]h/:f[h[x_]]=.Scope (2)
Properties & Relations (1)
See Also
Related Workflows
- Clear Definitions for Symbols and Functions
History
Introduced in 1988 (1.0)
Text
Wolfram Research (1988), TagUnset, Wolfram Language function, https://reference.wolfram.com/language/ref/TagUnset.html.
CMS
Wolfram Language. 1988. "TagUnset." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TagUnset.html.
APA
Wolfram Language. (1988). TagUnset. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TagUnset.html
BibTeX
@misc{reference.wolfram_2026_tagunset, author="Wolfram Research", title="{TagUnset}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/TagUnset.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_tagunset, organization={Wolfram Research}, title={TagUnset}, year={1988}, url={https://reference.wolfram.com/language/ref/TagUnset.html}, note=[Accessed: 13-June-2026]}