VariantConfig.contains

Determines if the key is found in the config file.

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

Parameters

group string

Name of the group to get entries from.

key string

Name of the key to get the value from.

Return Value

Type: bool

true if the config file contains the key false otherwise.

Meta