GetInt8 retrieves an int8 value from the State. It returns the int8 and a boolean indicating successful type assertion.
(key string)
| 166 | // GetInt8 retrieves an int8 value from the State. |
| 167 | // It returns the int8 and a boolean indicating successful type assertion. |
| 168 | func (s *State) GetInt8(key string) (int8, bool) { |
| 169 | return GetState[int8](s, key) |
| 170 | } |
| 171 | |
| 172 | // GetInt16 retrieves an int16 value from the State. |
| 173 | // It returns the int16 and a boolean indicating successful type assertion. |
no outgoing calls