node_api_is_sharedarraybuffer
functionexperimentaljs_native_api.hThis API checks if the Object passed in is a SharedArrayBuffer.
Stability: 1 - Experimental
napi_status node_api_is_sharedarraybuffer(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 givennapi_valuerepresents aSharedArrayBuffer.
Returns napi_ok if the API succeeded.
This API checks if the Object passed in is a SharedArrayBuffer.