Remove property

From Kolmafia
Revision as of 00:03, 21 March 2017 by imported>Smelltastic (Created page with "{{ #vardefine:name|remove_property}}{{ #vardefine:return_type|void}}{{ FunctionPage| name={{#var:name}}| function1={{Function| name={{#var:name}}| aggregate={{#var:aggregate...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function Syntax

void remove_property(string prop )

  • prop is the property to remove.

void remove_property(string prop ,boolean global )

  • prop is the property to remove.
  • global if true, look for the property specifically in the global map. If false or not included will look at the user map.

If prop is a built-in property, resets to default. Otherwise, removes from the user map, or global if global is true.

See Also

Miscellaneous_Functions#Property_Functions()