simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

classCallCheck.js (274B)


      1 function _classCallCheck(instance, Constructor) {
      2   if (!(instance instanceof Constructor)) {
      3     throw new TypeError("Cannot call a class as a function");
      4   }
      5 }
      6 
      7 module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;