API Reference > bentleyjs-core > Configuration > Config > get get Method Attempts to retrieve a variable, the search is case-insensitive. get(varName: string, defaultVal?: string | number | boolean): any throws if the variable does not exist and a default value is not provided. Parameter Type Description varName string The name of the config variable to find defaultVal string | number | boolean The default value to return if the variable does not exist. If undefined, an exception is thrown. Returns - any Defined in core/bentley/src/Config.ts Line 106 Last Updated: 11 June, 2024