Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
test/ | 2023-06-15 18:19 | - | ||
package.json | 2023-06-15 18:21 | 1.6K | ||
is-class.js | 1985-10-26 08:15 | 733 | ||
bower.json | 1985-10-26 08:15 | 442 | ||
README.md | 1985-10-26 08:15 | 333 | d7c1522 post receive test [كارل مبارك] | |
LICENSE.md | 1985-10-26 08:15 | 1.0K | ||
CHANGELOG.md | 1985-10-26 08:15 | 211 |
# 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