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

Function isIncomingMessage

test/parallel/test-diagnostics-channel-http.js:10–10  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

8
9const isHTTPServer = (server) => server instanceof http.Server;
10const isIncomingMessage = (object) => object instanceof http.IncomingMessage;
11const isOutgoingMessage = (object) => object instanceof http.OutgoingMessage;
12const isNetSocket = (socket) => socket instanceof net.Socket;
13const isError = (error) => error instanceof Error;

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…