I am exporting the following ES6 class from one module:
export class Thingy { hello() { console.log(\"A\"); } world() { console.log(\"B\");
Maybe this can help
let is_class = (obj) => { try { new obj(); return true; } catch(e) { return false; }; };