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/README.md

36 lines
333 B

4 weeks ago
# is-class
Check if function is an ES6 class.
# Install
```bash
npm install is-class
```
```bash
bower install is-class
```
# Usage
```javascript
var isClass = require('is-class');
class F {}
function G() {}
console.log(isClass(F)); // true
console.log(isClass(G)); // false
```
# Test
```bash
npm test
```
# License
MIT