getString Method
Attempt to get a string type variable value.
getString(name: string, defaultVal?: string): string
throws if the variable does not exist and no default value is provided.
Parameter | Type | Description |
---|---|---|
name | string | the variable name to retrieve. |
defaultVal | string | the value to return if the variable does not exist. |
Returns - string
Defined in
- core/bentley/src/Config.ts Line 152
Last Updated: 11 June, 2024