Home > @i2analyze/i2connect > settings > getStringArray
settings.getStringArray() function
Gets a string array from a setting, or undefined
if the setting is missing or not a string array.
Signature:
function getStringArray(path: string): string[] | undefined;
Introduced: API version 2.0
Parameters
Parameter | Type | Description |
---|---|---|
path | string | The path to the location of the setting within the config/settings.json file. |
Returns:
string[] | undefined
The string array, or undefined
.