0.0.6 • Published 3 years ago

is-class-hotfix v0.0.6

Weekly downloads
147,235
License
MIT
Repository
github
Last release
3 years ago

is-class

Check if function is an ES6 class.

Install

npm install is-class
bower install is-class

Usage

var isClass = require('is-class');

class F {}
function G() {}

console.log(isClass(F)); // true
console.log(isClass(G)); // false

Test

npm test

License

MIT

0.0.6

3 years ago

0.0.5

3 years ago