getNumber Method

Get the value for a key as a number. If it is not present, or not of type number, return undefined

getNumber(key: string): undefined | number

Parameter Type Description
key string  

Returns - undefined | number

Defined in

Last Updated: 30 November, 2023