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

Function isTextBinaryFrame

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

Source from the content-addressed store, hash-verified

14930 }
14931 __name(isContinuationFrame, "isContinuationFrame");
14932 function isTextBinaryFrame(opcode) {
14933 return opcode === opcodes.TEXT || opcode === opcodes.BINARY;
14934 }
14935 __name(isTextBinaryFrame, "isTextBinaryFrame");
14936 function isValidOpcode(opcode) {
14937 return isTextBinaryFrame(opcode) || isContinuationFrame(opcode) || isControlFrame(opcode);

Callers 2

isValidOpcodeFunction · 0.70
runMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected