Config
Wraps a config file and provides useful facilities for writing/reading it.
If the file changes on disk, you will need to create a new Config object to get the latest version of the file.
Constructors
Properties
Functions
Returns null if the key does not exist or if the value cannot be converted to the desired type.
Returns defaultValue if the key does not exist or if the value cannot be converted to the desired type.
Returns the computed defaultValue if the key does not exist or if the value cannot be converted to the desired type.
Throws an error if the key does not exist or if the value cannot be converted to the desired type.
Gets all the values in the section that are themselves sections.
'Merges' other with this ConfigSection by copying all of its keys into this ConfigSection. If a key exists in both section, this ConfigSection's keys take priority.