GetInt retrieves an integer value from the State. It returns the int and a boolean indicating successful type assertion.
(key string)
| 142 | // GetInt retrieves an integer value from the State. |
| 143 | // It returns the int and a boolean indicating successful type assertion. |
| 144 | func (s *State) GetInt(key string) (int, bool) { |
| 145 | return GetState[int](s, key) |
| 146 | } |
| 147 | |
| 148 | // GetBool retrieves a boolean value from the State. |
| 149 | // It returns the bool and a boolean indicating successful type assertion. |
no outgoing calls