MCPcopy Index your code
hub / github.com/nodejs/node / isMarkedAsUntransferable

Function isMarkedAsUntransferable

lib/internal/buffer.js:1090–1095  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1088// This simply checks if the object is marked as untransferable and doesn't
1089// check whether we are able to transfer it.
1090function isMarkedAsUntransferable(obj) {
1091 if (obj == null)
1092 return false;
1093 // Private symbols are not inherited.
1094 return obj[untransferable_object_private_symbol] !== undefined;
1095}
1096
1097function createUnsafeBuffer(size) {
1098 if (size <= 64) {

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…