Read the length of array from lynx_value.
| Key | Description |
|---|---|
| [in] env | The environment in which lynx value runs, typically nullptr. |
| [in] value | lynx_value representing array. |
| [out] result | uint32 representing length of the array. |
Returns lynx_api_ok if the API succeeded. Returns lynx_api_array_expected if the types do not match.