ConfigStore.get

T get(T)(string key, T defaultValue = T.init) const @safe

Get a value with a default fallback.

Parameters

keyThe key to look up
defaultValueValue to return if key doesn't exist or cannot be converted

Returns

The value at key, or defaultValue if not found or conversion fails.