@mll-lab/js-utils 2.15.0 → 2.15.2
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.
- package/dist/index.common.js +18 -18
- package/dist/index.common.js.map +1 -1
- package/dist/index.js +18 -18
- package/dist/index.js.map +1 -1
- package/dist/predicates.d.ts +9 -9
- package/package.json +1 -1
package/dist/predicates.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export declare type PredicateFn = (value: unknown) => boolean;
|
|
2
2
|
export declare function isString(value: unknown): value is string;
|
|
3
|
-
export declare
|
|
3
|
+
export declare function isAlphanumeric(value: unknown): value is string;
|
|
4
4
|
/**
|
|
5
5
|
* BSNR (Betriebsstättennummer) ist eine eindeutige Zuordnung von Leistungen zu dem entsprechenden Ort der Leistungserbringung ermöglicht,
|
|
6
6
|
* für alle vertrags(zahn)ärztlichen Leistungserbringer gültig
|
|
7
7
|
* und klar abzugrenzen vom Institutskennzeichen (IK-Nummer) eines Krankenhauses.
|
|
8
8
|
*/
|
|
9
|
-
export declare
|
|
9
|
+
export declare function isBSNR(value: unknown): value is string;
|
|
10
10
|
export declare const EMAIL_REGEX: RegExp;
|
|
11
|
-
export declare
|
|
12
|
-
export declare
|
|
13
|
-
export declare
|
|
14
|
-
export declare
|
|
15
|
-
export declare
|
|
16
|
-
export declare
|
|
17
|
-
export declare
|
|
11
|
+
export declare function isEmail(value: unknown): value is string;
|
|
12
|
+
export declare function isOnlyDigits(value: unknown): value is string;
|
|
13
|
+
export declare function isURL(value: unknown): value is string;
|
|
14
|
+
export declare function isWord(value: unknown): value is string;
|
|
15
|
+
export declare function isLabId(value: unknown): value is string;
|
|
16
|
+
export declare function isRackBarcode(value: unknown): value is string;
|
|
17
|
+
export declare function isNotNullish<T>(value: T): value is Exclude<T, null | undefined>;
|