napi_is_array
functionv1js_native_api.hThis API represents invoking the IsArray operation on the object as defined in Section IsArray of the ECMAScript Language Specification.
napi_status napi_is_array(napi_env env, napi_value value, bool* result)
[in] env: The environment that the API is invoked under.[in] value: The JavaScript value to check.[out] result: Whether the given object is an array.
Returns napi_ok if the API succeeded.
This API represents invoking the IsArray operation on the object
as defined in Section IsArray of the ECMAScript Language Specification.