0.0.9 • Published 6 years ago

is-class v0.0.9

Weekly downloads
94,210
License
MIT
Repository
github
Last release
6 years ago

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

@sparrowjs/shared@kibamaple/xblock@kolibrejs/shared@infinitebrahmanuniverse/nolb-is-c@everything-registry/sub-chunk-1932vukoa-utilwendigox-nestjs-typegoosestarfish-apijaid-corejs-reduxkalimajj.jsidyll-interactive-documentmakeitso-climaishu-nws-mvcmaishu-nwspmaishu-node-mvcmaishu-node-web-server-mvcmerapimdebug@typeservice/radix@tiejs/controller@tiejs/core@tiejs/graphql@triptyk/nfw-http@the-/db@villedemontreal/scripting@vizorous/nestjs-query-typegoose@yesboss/merapialfajorair5-carbonassert-args@hangxingliu/ts-openapitype-check-ofttdebuguiconftoy-reactyyzxprovide@lando/core@ksdtc/fireorm@lotsof/sugarmioxmiox-coremiox-simplemiox-vucmiox-vuemiox-vue2xmiox-vue2x-containerrtf-parsenoadernestgoosenestjs-typed-dynamodbnestjs-typegoosenestjs-typegoose-nextnestjs-typegoose-ngnestjs-typegoose-peernestjs-typegoose-updtnestjs-typegoose2pixiu-swap-corepixiuswap-libs-sdkshimo-opentracing-auto@notyp/core@org-naily/core@omersalkanovic/nestjs-dynamodb@geexbox/nestjs-typegoose@gatewayjs/gateway@hirasawa_au/nestjs-typegoose@fastify-plus/common@fastify-plus/core@fastify-plus/openapi@fastify-plus/swagger@florianpat/lando-core@galenjs/class-loader@piavart/nestjs-dynamodb@petrovdv/nestjs-typegoosefugazi@sudtanj/nestjs-typegoosefastify-plus@ptc-org/nestjs-query-typegoose@bed-and-breakfast/nestjs-query-typegoosecanvas-sketch-fork-cqcanvas-sketchcompositerclass-infodebukbrick-enginebrick-koabrick-componentbotium-core@alfieri/class-loader@aligov/search-table@amoxt/nestjs-query-typegoose@sojs/common@sojs/core@sojs/dashboard@sojs/openapi@sojs/swagger@sojs/testing
0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

10 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago