You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
parttimejob/node_modules/is-class-hotfix
侯晓宇 0cb2601919
init
1 month ago
..
test init 1 month ago
.editorconfig init 1 month ago
.gitattributes init 1 month ago
CHANGELOG.md init 1 month ago
LICENSE.md init 1 month ago
README.md init 1 month ago
bower.json init 1 month ago
is-class.js init 1 month ago
package.json init 1 month ago

README.md

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