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

Function isInternal

lib/internal/child_process.js:997–1004  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

995
996const INTERNAL_PREFIX = 'NODE_';
997function isInternal(message) {
998 return (message !== null &&
999 typeof message === 'object' &&
1000 typeof message.cmd === 'string' &&
1001 message.cmd.length > INTERNAL_PREFIX.length &&
1002 StringPrototypeSlice(message.cmd, 0, INTERNAL_PREFIX.length) ===
1003 INTERNAL_PREFIX);
1004}
1005
1006const nop = FunctionPrototype;
1007

Callers 1

setupChannelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…