Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

could-be-class

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

could-be-class - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

4

index.d.ts
/**
* Checks if an object could be an instantiable class.
*/
export function isClass(obj: any): obj is new (...args: any[]) => any;
export default isClass;
export function couldBeClass(obj: any): obj is new (...args: any[]) => any;
export default couldBeClass;
{
"name": "could-be-class",
"version": "0.2.0",
"version": "0.2.1",
"description": "Checks if an object could be an instantiable class.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc