Skip to main content
Version: Next

ConfigReader.getOptionalStringArray()

Home > @backstage/config > ConfigReader > getOptionalStringArray

Reads a configuration value at the given key, expecting it to be an array of strings.

Signature:

getOptionalStringArray(key: string): string[] | undefined;

Parameters

Parameter

Type

Description

key

string

**Returns:**

string[] | undefined