Difference between pages "Get chateau" and "Get all properties"
(Difference between pages)
Jump to navigation
Jump to search
imported>Relyk |
imported>Smelltastic |
||
Line 1: | Line 1: | ||
{{ | {{ | ||
− | #vardefine:name| | + | #vardefine:name|get_all_properties}}{{ |
− | #vardefine:return_type| | + | #vardefine:return_type|boolean [string]}}{{ |
#vardefine:aggregate|yes}}{{ | #vardefine:aggregate|yes}}{{ | ||
FunctionPage| | FunctionPage| | ||
+ | |||
name={{#var:name}}| | name={{#var:name}}| | ||
Line 14: | Line 15: | ||
}}| | }}| | ||
− | function_description=Returns a map | + | function_description=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.| |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | needscode=yes| | |
− | |||
− | |||
− | |||
− | |||
− | see_also={{SeeAlso| | + | see_also={{SeeAlso|Miscellaneous_Functions#Property_Functions}}| |
}} | }} | ||
− | [[Category: | + | [[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.