is-class-hotfix
Check if function is an ES6 class.
Last updated 8 years ago by fengmk2 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (8 years ago)

2 Versions

  • 0.0.6                                ...           8 years ago
  • 0.0.5                                ...           8 years ago
Maintainers (1)
Downloads
Today 7
This Week 37
This Month 109
Last Day 21
Last Week 48
Last Month 205
Dependencies (0)
None
Dev Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |