/ archiveofbelonging.org / back / node_modules / is-class-hotfix /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]test/2 years ago -  
[TXT]CHANGELOG.md40 years ago211  
[TXT]LICENSE.md40 years ago1.0K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
[TXT]README.md40 years ago333 f12eb36 documentaiton updates [كارل مبارك]
[   ]bower.json40 years ago442  
[   ]is-class.js40 years ago733  
[   ]package.json2 years ago1.5K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
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

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80