MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / IsDetached

Method IsDetached

napi-inl.h:2282–2287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2280
2281#if NAPI_VERSION >= 7
2282inline bool ArrayBuffer::IsDetached() const {
2283 bool detached;
2284 napi_status status = napi_is_detached_arraybuffer(_env, _value, &detached);
2285 NAPI_THROW_IF_FAILED(_env, status, false);
2286 return detached;
2287}
2288
2289inline void ArrayBuffer::Detach() {
2290 napi_status status = napi_detach_arraybuffer(_env, _value);

Callers 1

CheckDetachUpdatesDataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected