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

Function isOutgoingMessage

lib/internal/streams/utils.js:261–268  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

259}
260
261function isOutgoingMessage(stream) {
262 return (
263 typeof stream._closed === 'boolean' &&
264 typeof stream._defaultKeepAlive === 'boolean' &&
265 typeof stream._removedConnection === 'boolean' &&
266 typeof stream._removedContLen === 'boolean'
267 );
268}
269
270function isServerResponse(stream) {
271 return (

Callers 2

isClosedFunction · 0.70
isServerResponseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…