is-class-hotfix
Check if function is an ES6 class.
Last updated 6 years ago by fengmk2 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install is-class-hotfix 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.6                                ...           latest (6 years ago)

2 Versions

  • 0.0.6                                ...           6 years ago
  • 0.0.5                                ...           6 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE