ClearAttributes
Turns off one of the Wolfram-named properties Attributes can report.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
ClearAttributes!ClearAttributes(f, attr)Turns off for 's operator definition, in place.ClearAttributes(f, {attr1, attr2, ...})Turns off several attributes at once.Typed signatures
| Type | Package | Applies |
|---|---|---|
(symbol, any) -> any | combinatorics | always |
Details
- The inverse of SetAttributes, over the same . Declines (stays unevaluated) for an undeclared or any other attribute name.
- A declared head is
Protected:ClearAttributesleaves the call unevaluated and saysClearAttributes::write(Tag f in f is Protected.), where Wolfram, whoseProtectedguards definitions rather than attributes, makes the change. - Always returns , like Wolfram's own .
Examples
About
| Examples | 2 |
|---|---|
| Checked against | Wolfram Language 1 differ |
| Crosswalk | Wolfram Language |
See also: Attributes, SetAttributes