kaka cc403a83fd 热更功能跑通 5 yıl önce
..
test cc403a83fd 热更功能跑通 5 yıl önce
.editorconfig cc403a83fd 热更功能跑通 5 yıl önce
.gitattributes cc403a83fd 热更功能跑通 5 yıl önce
.npmignore cc403a83fd 热更功能跑通 5 yıl önce
CHANGELOG.md cc403a83fd 热更功能跑通 5 yıl önce
LICENSE.md cc403a83fd 热更功能跑通 5 yıl önce
README.md cc403a83fd 热更功能跑通 5 yıl önce
bower.json cc403a83fd 热更功能跑通 5 yıl önce
is-class.js cc403a83fd 热更功能跑通 5 yıl önce
package.json cc403a83fd 热更功能跑通 5 yıl önce

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

License

MIT