Constructor.
For any properties passed on initialMap, Configuration#value will
be called so those properties are defined on this instance.
OptionalinitialMap: object | Map<string, any>the optional initial properties to store
Get direct access to the underlying property map.
Test if a key is truthy.
the key to test
true if the key is enabled
Set or toggle the enabled status of a given key.
If the enabled parameter is not passed, then the enabled
status will be toggled to its opposite value.
the key to set
Optionalenabled: booleanthe optional enabled value to set
this object to allow method chaining
Get a configuration value.
the key to get
the associated value for the given key
Set a configuration value.
the key to get or set the value for
the new value to set for the given key.
If null then the value will be removed.
this object.
Get all properties.
all properties of this object copied into a simple object
Set multiple properties.
a map of values to set
this object
A configuration utility object.
Properties can be get/set by using the Util.Configuration#value function. Properties added this way become enumerable properties of the
Configurationinstance as well.