is-class Check if function is an ES6 class. Install npm install is-class Usage const isClass = require('is-class') class F {}function G() {} console.log(isClass(F)) // trueconsole.log(isClass(G)) // false Test npm test License MIT