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

aint

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aint - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

5

build/types/index.d.ts
export { isNotNull } from './isNotNull';
export { isNotUndefined } from './isNotUndefined';
export { isNotNullish } from './isNotNullish';
export { type NonNullish, isNotNullish } from './isNotNullish';
export { isNotEmptyString } from './isNotEmptyString';
export { isNotEmptyArray } from './isNotEmptyArray';
export type { NonEmptyArray } from './isNotEmptyArray';
export { type NonEmptyArray, isNotEmptyArray } from './isNotEmptyArray';

3

build/types/isNotNullish.d.ts

@@ -1,1 +0,2 @@

export declare function isNotNullish<T>(value: T): value is Exclude<T, null | undefined>;
export declare type NonNullish<T> = Exclude<T, null | undefined>;
export declare function isNotNullish<T>(value: T): value is NonNullish<T>;
# aint
## 0.5.0
### Minor Changes
- 8d3de1f: Export NonNullish type
- a335dbc: Export `NonEmptyArray` type from a single statement
## 0.4.0

@@ -4,0 +11,0 @@

{
"name": "aint",
"version": "0.4.0",
"version": "0.5.0",
"description": "A collection of common runtime predicates that TypeScript actually understands.",

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

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