@thi.ng/checks
Advanced tools
Comparing version 3.1.3 to 3.1.4
# Change Log | ||
- **Last updated**: 2021-12-13T10:26:00Z | ||
- **Last updated**: 2022-03-11T12:13:49Z | ||
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub) | ||
@@ -5,0 +5,0 @@ |
/** | ||
* Returns true iff all chars are in ASCII range [0x00 .. 0x7f] | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -10,5 +10,5 @@ export declare const isASCII: (x: string) => boolean; | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
export declare const isPrintableASCII: (x: string) => boolean; | ||
//# sourceMappingURL=is-ascii.d.ts.map |
/** | ||
* Returns true iff all chars are in ASCII range [0x00 .. 0x7f] | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -10,4 +10,4 @@ export const isASCII = (x) => /^[\x00-\x7f]+$/.test(x); | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
export const isPrintableASCII = (x) => /^[\x20-\x7e]+$/.test(x); |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -13,5 +13,5 @@ export declare const isNumericInt: (x: string) => boolean; | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
export declare const isNumericFloat: (x: string) => boolean; | ||
//# sourceMappingURL=is-numeric.d.ts.map |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -13,4 +13,4 @@ export const isNumericInt = (x) => /^[-+]?\d+$/.test(x); | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
export const isNumericFloat = (x) => /^[-+]?\d*\.?\d+(e[-+]?\d+)?$/i.test(x); |
/** | ||
* Returns true if `x` is a string, number or boolean. | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
export declare const isPrimitive: (x: any) => x is string | number | boolean; | ||
//# sourceMappingURL=is-primitive.d.ts.map |
/** | ||
* Returns true if `x` is a string, number or boolean. | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -6,0 +6,0 @@ export const isPrimitive = (x) => { |
@@ -7,3 +7,3 @@ /** | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -23,5 +23,5 @@ export declare const isIllegalKey: (x: any) => boolean; | ||
* | ||
* @param path | ||
* @param path - | ||
*/ | ||
export declare const isProtoPath: (path: string | number | readonly (string | number)[]) => boolean; | ||
//# sourceMappingURL=is-proto-path.d.ts.map |
@@ -10,3 +10,3 @@ import { isArray } from "./is-array.js"; | ||
* | ||
* @param x | ||
* @param x - | ||
*/ | ||
@@ -26,3 +26,3 @@ export const isIllegalKey = (x) => ILLEGAL_KEYS.has(x); | ||
* | ||
* @param path | ||
* @param path - | ||
*/ | ||
@@ -29,0 +29,0 @@ export const isProtoPath = (path) => isArray(path) |
{ | ||
"name": "@thi.ng/checks", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"description": "Collection of 50+ type, feature & value checks", | ||
@@ -40,9 +40,9 @@ "type": "module", | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.19.2", | ||
"@thi.ng/testament": "^0.2.3", | ||
"@types/node": "^16.11.12", | ||
"@microsoft/api-extractor": "^7.19.4", | ||
"@thi.ng/testament": "^0.2.4", | ||
"@types/node": "^17.0.21", | ||
"rimraf": "^3.0.2", | ||
"tools": "^0.0.1", | ||
"typedoc": "^0.22.10", | ||
"typescript": "^4.5.3" | ||
"typedoc": "^0.22.13", | ||
"typescript": "^4.6.2" | ||
}, | ||
@@ -270,3 +270,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "2db9dd34c0c2c60cbfde3dad0bca352b20292f5c\n" | ||
"gitHead": "0fc692a3225c068aacafdc4cb6140cf603c67ad8\n" | ||
} |
@@ -55,3 +55,3 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
Package sizes (gzipped, pre-treeshake): ESM: 1.72 KB | ||
Package sizes (gzipped, pre-treeshake): ESM: 1.71 KB | ||
@@ -92,2 +92,2 @@ ## Dependencies | ||
© 2016 - 2021 Karsten Schmidt // Apache Software License 2.0 | ||
© 2016 - 2022 Karsten Schmidt // Apache Software License 2.0 |
49494