@mll-lab/js-utils 2.15.1 → 2.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,4 @@
1
1
  export declare type PredicateFn = (value: unknown) => boolean;
2
- export declare function isString(value: unknown): value is string;
3
2
  export declare const isAlphanumeric: PredicateFn;
4
3
  /**
5
4
  * BSNR (Betriebsstättennummer) ist eine eindeutige Zuordnung von Leistungen zu dem entsprechenden Ort der Leistungserbringung ermöglicht,
@@ -14,4 +13,3 @@ export declare const isURL: PredicateFn;
14
13
  export declare const isWord: PredicateFn;
15
14
  export declare const isLabId: PredicateFn;
16
15
  export declare const isRackBarcode: PredicateFn;
17
- export declare const isNotNullish: PredicateFn;
@@ -1 +1,3 @@
1
- export {};
1
+ import { PredicateFn } from './predicates';
2
+ export declare function assertFalse(predicate: PredicateFn, values: Array<unknown>): void;
3
+ export declare function assertTrue(predicate: PredicateFn, values: Array<unknown>): void;
@@ -0,0 +1,2 @@
1
+ export declare function isString(value: unknown): value is string;
2
+ export declare function isNotNullish<T>(value: T): value is Exclude<T, null | undefined>;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mll-lab/js-utils",
3
- "version": "2.15.1",
3
+ "version": "2.15.3",
4
4
  "main": "dist/index.common.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",