Get all properties: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Smelltastic
Created page with "{{ #vardefine:name|get_all_properties}}{{ #vardefine:return_type|boolean [string]}}{{ #vardefine:aggregate|yes}}{{ FunctionPage| name={{#var:name}}| function1={{Function| n..."
 
imported>Smelltastic
No edit summary
Line 19: Line 19:
needscode=yes|
needscode=yes|


see_also={{SeeAlso|chat_clan|is_online}}|
see_also={{SeeAlso|Miscellaneous_Functions#Property_Functions}}|
}}
}}


[[Category:Property Functions]]
[[Category:Property Functions]]

Revision as of 23:48, 20 March 2017

needs(code_samples);

Function Syntax

boolean [string] get_all_properties()

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. The "global" boolean argument says whether to get properties from the GLOBAL prefs file or the NAME prefs file of the current user.

See Also

Miscellaneous_Functions#Property_Functions()