MCPcopy Index your code
hub / github.com/socketio/socket.io / _classCallCheck

Function _classCallCheck

client-dist/socket.io.js:21–25  ·  view source on GitHub ↗
(instance, Constructor)

Source from the content-addressed store, hash-verified

19 }, _typeof(obj);
20 }
21 function _classCallCheck(instance, Constructor) {
22 if (!(instance instanceof Constructor)) {
23 throw new TypeError("Cannot call a class as a function");
24 }
25 }
26 function _defineProperties(target, props) {
27 for (var i = 0; i < props.length; i++) {
28 var descriptor = props[i];

Callers 11

TransportErrorFunction · 0.85
TransportFunction · 0.85
PollingFunction · 0.85
RequestFunction · 0.85
WSFunction · 0.85
WTFunction · 0.85
SocketFunction · 0.85
EncoderFunction · 0.85
DecoderFunction · 0.85
BinaryReconstructorFunction · 0.85
ManagerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected