is-class-hotfix

Check if function is an ES6 class.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
is-class-hotfix
4300.0.64 years ago4 years agoMinified + gzip package size for is-class-hotfix in KB

Readme

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