Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

miguelmota/is-class

Repository files navigation

is-class

Check if function is an ES6 class.

License NPM version PRs Welcome

Install

npm install is-class

Usage

const isClass = require('is-class')

class F {}
function G() {}

console.log(isClass(F)) // true
console.log(isClass(G)) // false

Test

npm test

License

MIT

About

Check if function is an ES6 class.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published