mrr.sj.front/node_modules/is-class-hotfix
丁杰 1aa732ad02 初始化商家app代码 2026-03-24 11:45:13 +08:00
..
test 初始化商家app代码 2026-03-24 11:45:13 +08:00
.editorconfig 初始化商家app代码 2026-03-24 11:45:13 +08:00
.gitattributes 初始化商家app代码 2026-03-24 11:45:13 +08:00
CHANGELOG.md 初始化商家app代码 2026-03-24 11:45:13 +08:00
LICENSE.md 初始化商家app代码 2026-03-24 11:45:13 +08:00
README.md 初始化商家app代码 2026-03-24 11:45:13 +08:00
bower.json 初始化商家app代码 2026-03-24 11:45:13 +08:00
is-class.js 初始化商家app代码 2026-03-24 11:45:13 +08:00
package.json 初始化商家app代码 2026-03-24 11:45:13 +08:00

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