Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@samual/assert

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@samual/assert - npm Package Compare versions

Comparing version
0.0.0
to
0.0.1-19b6875
+1
-1
default.d.ts

@@ -10,3 +10,3 @@ import type { Falsy, NonFalsy } from "@samual/types";

*/
export declare function assert<T>(value: T, message?: string | MessageFn<T & Falsy>): asserts value is NonFalsy<T>;
export declare function assert<T>(value: T, message?: string | MessageFn<T & Falsy>): asserts value;
/**

@@ -13,0 +13,0 @@ * Assertion function that ensures value is not [nullish](https://developer.mozilla.org/en-US/docs/Glossary/Nullish).

{
"name": "@samual/assert",
"version": "0.0.0",
"description": "Assertion library. ",
"version": "0.0.1-19b6875",
"description": "Assertion library.",
"keywords": [

@@ -6,0 +6,0 @@ "assertions",

@@ -16,1 +16,7 @@ # Samual's Assertion Library

```
---
This package is also [available on JSR][jsr].
[npm]: https://www.npmjs.com/package/@samual
[jsr]: https://jsr.io/@sn