ConfigReader.getOptionalString()
Home > @backstage/config
> ConfigReader
> getOptionalString
Reads a configuration value at the given key, expecting it to be a string.
Signature:
getOptionalString(key: string): string | undefined;
Parameters
Parameter |
Type |
Description |
---|---|---|
key |
string |
string | undefined