VariantConfig.contains

Determines if the key is found in the config file. The key can be either its name of in the format of groupName.keyName or just the key name.

  1. bool contains(string key)
    struct VariantConfig
    @safe
    bool
    contains
    (
    const string key
    )
  2. bool contains(string group, string key)

Parameters

key string

Name of the key to get the value of

Return Value

Type: bool

true if the config file contains the key false otherwise.

Meta