![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | test/ | 2023-06-19 12:50 | - | |
![]() | CHANGELOG.md | 1985-10-26 08:15 | 211 | |
![]() | LICENSE.md | 1985-10-26 08:15 | 1.0K | |
![]() | README.md | 1985-10-26 08:15 | 333 | |
![]() | bower.json | 1985-10-26 08:15 | 442 | |
![]() | is-class.js | 1985-10-26 08:15 | 733 | |
![]() | package.json | 2023-06-19 12:52 | 1.6K |
# is-class Check if function is an ES6 class. # Install ```bash npm install is-class ``` ```bash bower install is-class ``` # Usage ```javascript var isClass = require('is-class'); class F {} function G() {} console.log(isClass(F)); // true console.log(isClass(G)); // false ``` # Test ```bash npm test ``` # License MIT