Get all properties

From Kolmafia
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
needs(code_samples);

Function Syntax

boolean [string] get_all_properties(string filter ,boolean global )

  • filter specifies a filter on which properties to return.
  • global specifies whether to get properties from the GLOBAL prefs file (true) or the NAME prefs file (false) of the current user.

Returns a map from name to a boolean which is true if the property is supported by KoLmafia itself or false if its for/by user scripts.

See Also

Miscellaneous_Functions#Property_Functions()