Create a lynx_value of type array.
| Key | Description |
|---|---|
| [in] env | The environment in which lynx value runs, typically nullptr. |
| [out] result | A lynx_value representing a array. |
Returns lynx_api_ok if the API succeeded.
It creates an object on the heap, whose memory is managed by reference count, and calls lynx_value_remove_reference to free it when it is used up.