getNumber Method

Overloads
getNumber(settingName)  
getNumber(settingName, defaultValue)  

getNumber(settingName)

getNumber(settingName: string): undefined | number

Parameter Type Description
settingName string  

Returns - undefined | number



getNumber(settingName, defaultValue)

Get a number setting by SettingName.

getNumber(settingName: string, defaultValue: number): number

Parameter Type Description
settingName string The name of the setting
defaultValue number value returned if settingName is not present in any SettingDictionary, or if the highest priority setting is not a number.

Returns - number


Last Updated: 20 June, 2023