VariantConfig.remove

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

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

Parameters

group string

Name of the group where key is found.

key string

Name of the key to remove.

Return Value

Type: bool

true if it was successfully removed false otherwise.

Meta