TagUnset

f/:lhs=.

removes any rules defined for lhs, associated with the symbol f.

Details

  • Rules are removed only when their lefthand side is identical to lhs, and the tests in Condition given on the righthand side are also identical.

Examples

open allclose all

Basic Examples  (1)

Scope  (2)

Clear immediate definitions:

Clear delayed definitions:

Properties & Relations  (1)

Use =. to clear definitions with a particular left-hand side:

Clear all definitions:

Possible Issues  (1)

To clear an upvalue, the tag is required:

Wolfram Research (1988), TagUnset, Wolfram Language function, https://reference.wolfram.com/language/ref/TagUnset.html.

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_2024_tagunset, author="Wolfram Research", title="{TagUnset}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/TagUnset.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_tagunset, organization={Wolfram Research}, title={TagUnset}, year={1988}, url={https://reference.wolfram.com/language/ref/TagUnset.html}, note=[Accessed: 22-November-2024 ]}