VariantConfig.remove

Removes a key/value from config file. The key can be either its name of in the format of groupName.keyName or just the keyName.

  1. bool remove(string key)
    struct VariantConfig
    @trusted
    bool
    remove
    (
    const string key
    )
  2. bool remove(string group, string key)

Parameters

key string

Name of the key to remove. Can be in the group.name format.

Return Value

Type: bool

true if it was successfully removed false otherwise.

Meta