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

Function isControlFrame

deps/undici/undici.js:14924–14926  ·  view source on GitHub ↗
(opcode)

Source from the content-addressed store, hash-verified

14922 }
14923 __name(isValidStatusCode, "isValidStatusCode");
14924 function isControlFrame(opcode) {
14925 return opcode === opcodes.CLOSE || opcode === opcodes.PING || opcode === opcodes.PONG;
14926 }
14927 __name(isControlFrame, "isControlFrame");
14928 function isContinuationFrame(opcode) {
14929 return opcode === opcodes.CONTINUATION;

Callers 3

isValidOpcodeFunction · 0.70
runMethod · 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…