租房小程序前端代码
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.
 
 
 
主管理员 601be7eea1 修复代码 6 months ago
..
test 1,租房 10 months ago
.editorconfig 1,租房 10 months ago
.gitattributes 1,租房 10 months ago
CHANGELOG.md 1,租房 10 months ago
LICENSE.md 1,租房 10 months ago
README.md 1,租房 10 months ago
bower.json 1,租房 10 months ago
is-class.js 1,租房 10 months ago
package.json 修复代码 6 months 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