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

Method isSocketAddress

lib/internal/socketaddress.js:46–48  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

44
45class SocketAddress {
46 static isSocketAddress(value) {
47 return value?.[kHandle] !== undefined;
48 }
49
50 constructor(options = kEmptyObject) {
51 markTransferMode(this, true, false);

Callers 8

addAddressMethod · 0.80
addRangeMethod · 0.80
addSubnetMethod · 0.80
checkMethod · 0.80
processSessionOptionsFunction · 0.80
connectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected