ConfigReader.getOptionalConfigArray()
Home > @backstage/config > ConfigReader > getOptionalConfigArray
Creates a sub-view of an array of configuration objects. The configuration value at the position of the provided key must be an array of objects.
Signature:
getOptionalConfigArray(key: string): ConfigReader[] | undefined;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
string |
ConfigReader[] | undefined