MCPcopy Index your code
hub / github.com/twobin/react-lazyload / _classCallCheck

Function _classCallCheck

lib/index.js:34–34  ·  view source on GitHub ↗
(instance, Constructor)

Source from the content-addressed store, hash-verified

32function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
33
34function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
35
36function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
37

Callers 2

LazyLoadFunction · 0.70
LazyLoadDecoratedFunction · 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…