![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | test/ | 2 years ago | - | |
![]() | CHANGELOG.md | 40 years ago | 211 | |
![]() | LICENSE.md | 40 years ago | 1.0K | |
![]() | README.md | 40 years ago | 333 | |
![]() | bower.json | 40 years ago | 442 | |
![]() | is-class.js | 40 years ago | 733 | |
![]() | package.json | 2 years ago | 1.6K |
Check if function is an ES6 class.
npm install is-class
bower install is-class
var isClass = require('is-class');
class F {}
function G() {}
console.log(isClass(F)); // true
console.log(isClass(G)); // false
npm test
MIT