Settings.getInt

Gets the value that is stored at key in settings.

A convenience variant of Settings.get for 32-bit integers.

It is a programmer error to give a key that isn't specified as having a int32 type in the schema for settings.

class Settings
int
getInt
(
string key
)

Parameters

key string

the key to get the value for

Return Value

Type: int

an integer

Meta

Since

2.26