Read the int32_t value from lynx_value.
| Key | Description |
|---|---|
| [in] env | The environment in which lynx value runs, typically nullptr. |
| [in] value | lynx_value representing number. |
| [out] result | The 32-bit integer value. |
Returns lynx_api_ok if the API succeeded. Returns lynx_api_int32_expected if the types do not match.