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

@xylabs/exists

Package Overview
Dependencies
Maintainers
0
Versions
268
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xylabs/exists - npm Package Compare versions

Comparing version 4.4.18 to 4.4.19

2

dist/neutral/index.d.ts

@@ -9,3 +9,3 @@ /**

*/
export declare const exists: <T>(x?: T | null) => x is T;
export declare const exists: <T>(x?: T | null) => x is NonNullable<T>;
//# sourceMappingURL=index.d.ts.map
{
"name": "@xylabs/exists",
"version": "4.4.18",
"version": "4.4.19",
"description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",

@@ -5,0 +5,0 @@ "keywords": [

@@ -9,4 +9,4 @@ /**

*/
export const exists = <T>(x?: T | null): x is T => {
export const exists = <T>(x?: T | null): x is NonNullable<T> => {
return x === undefined || x === null ? false : true
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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