toolbox-x 1.0.0
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/LICENSE +201 -0
- package/dist/Color-B3mgF9Dh.d.cts +486 -0
- package/dist/Color-D38Xrw65.d.mts +486 -0
- package/dist/Stylog-Df7eq3-j.d.cts +519 -0
- package/dist/Stylog-jvlLcMQq.d.mts +519 -0
- package/dist/array-DvW0zIu6.d.mts +130 -0
- package/dist/array-rUnEVisO.d.cts +130 -0
- package/dist/basics-D_eSv0cu.cjs +132 -0
- package/dist/basics-Dp_aEK81.mjs +115 -0
- package/dist/basics-WEYWlnRO.d.cts +95 -0
- package/dist/basics-uBSfkBEI.d.mts +95 -0
- package/dist/case-BWIt8Ash.mjs +449 -0
- package/dist/case-C-S-b5YP.d.cts +327 -0
- package/dist/case-CS8Ii3A7.cjs +526 -0
- package/dist/case-CybASFPD.d.mts +327 -0
- package/dist/change-case.cjs +32 -0
- package/dist/change-case.d.cts +18 -0
- package/dist/change-case.d.mts +18 -0
- package/dist/change-case.mjs +19 -0
- package/dist/colors.cjs +574 -0
- package/dist/colors.d.cts +355 -0
- package/dist/colors.d.mts +355 -0
- package/dist/colors.mjs +547 -0
- package/dist/constants-2gAw23_7.mjs +144 -0
- package/dist/constants-B34K0QPi.d.cts +21 -0
- package/dist/constants-BIBDKY1u.cjs +924 -0
- package/dist/constants-BWT-810U.cjs +158 -0
- package/dist/constants-BwbHnXlM.mjs +662 -0
- package/dist/constants-BxN9l5el.cjs +74 -0
- package/dist/constants-CLS_bgKD.d.mts +847 -0
- package/dist/constants-D73iFu8g.mjs +171 -0
- package/dist/constants-DAfRxaa8.mjs +62 -0
- package/dist/constants-DQYeCjlx.cjs +207 -0
- package/dist/constants-Deeie-iH.d.mts +21 -0
- package/dist/constants-DpTG9RP6.d.mts +29 -0
- package/dist/constants-DqwnkJ_d.cjs +740 -0
- package/dist/constants-DvRUY_FY.cjs +150 -0
- package/dist/constants-VcRtQu0K.d.cts +29 -0
- package/dist/constants-X5hm1UtB.mjs +912 -0
- package/dist/constants-eNd-iYsV.mjs +134 -0
- package/dist/constants-qm8FafmD.d.cts +847 -0
- package/dist/constants.cjs +415 -0
- package/dist/constants.d.cts +184 -0
- package/dist/constants.d.mts +184 -0
- package/dist/constants.mjs +378 -0
- package/dist/convert-BOCgUv2D.cjs +252 -0
- package/dist/convert-Bn4jFomQ.mjs +169 -0
- package/dist/convert-BrzlG-m_.cjs +475 -0
- package/dist/convert-DhaUoPVU.mjs +368 -0
- package/dist/converter-1P90_RcP.d.mts +402 -0
- package/dist/converter-CmkcAppi.d.cts +402 -0
- package/dist/converter.cjs +780 -0
- package/dist/converter.d.cts +29 -0
- package/dist/converter.d.mts +29 -0
- package/dist/converter.mjs +771 -0
- package/dist/countries-CIpmtEzV.cjs +1469 -0
- package/dist/countries-Cy0xiqS3.mjs +1463 -0
- package/dist/css-colors-Bx947Ng3.d.cts +179 -0
- package/dist/css-colors-CXCDqQbG.cjs +186 -0
- package/dist/css-colors-CXTp1vvy.d.mts +179 -0
- package/dist/css-colors-DfUW3nTR.mjs +180 -0
- package/dist/date.cjs +332 -0
- package/dist/date.d.cts +213 -0
- package/dist/date.d.mts +213 -0
- package/dist/date.mjs +298 -0
- package/dist/dom.cjs +461 -0
- package/dist/dom.d.cts +228 -0
- package/dist/dom.d.mts +228 -0
- package/dist/dom.mjs +429 -0
- package/dist/form-BMFVGUrN.d.mts +118 -0
- package/dist/form-DRFbryvK.d.cts +118 -0
- package/dist/guards-3kaUX66g.mjs +157 -0
- package/dist/guards-C8gkvIHb.cjs +240 -0
- package/dist/guards-DdyU4h4o.mjs +110 -0
- package/dist/guards-Efhp1mNy.cjs +151 -0
- package/dist/guards.cjs +172 -0
- package/dist/guards.d.cts +399 -0
- package/dist/guards.d.mts +399 -0
- package/dist/guards.mjs +75 -0
- package/dist/hash-B6JPEyAz.d.mts +131 -0
- package/dist/hash-NTpeKYB_.d.cts +131 -0
- package/dist/hash.cjs +2126 -0
- package/dist/hash.d.cts +1239 -0
- package/dist/hash.d.mts +1239 -0
- package/dist/hash.mjs +2095 -0
- package/dist/http-status-BAZdtr7-.d.mts +65 -0
- package/dist/http-status-U_3MtoGb.d.cts +65 -0
- package/dist/http-status.cjs +173 -0
- package/dist/http-status.d.cts +142 -0
- package/dist/http-status.d.mts +142 -0
- package/dist/http-status.mjs +171 -0
- package/dist/index.cjs +2551 -0
- package/dist/index.d.cts +1493 -0
- package/dist/index.d.mts +1493 -0
- package/dist/index.mjs +2357 -0
- package/dist/object-B0TV3eHx.d.mts +8052 -0
- package/dist/object-Blq0Amdv.d.cts +8052 -0
- package/dist/objectify-CDs0Fbr1.mjs +417 -0
- package/dist/objectify-DIJ-OBmo.cjs +524 -0
- package/dist/paginator.cjs +245 -0
- package/dist/paginator.d.cts +144 -0
- package/dist/paginator.d.mts +144 -0
- package/dist/paginator.mjs +243 -0
- package/dist/parse-2ubxXZRp.cjs +211 -0
- package/dist/parse-N7g942uy.mjs +164 -0
- package/dist/pluralizer-BjMIc6uT.d.mts +42 -0
- package/dist/pluralizer-Cb6ZmrDl.d.cts +42 -0
- package/dist/pluralizer.cjs +678 -0
- package/dist/pluralizer.d.cts +152 -0
- package/dist/pluralizer.d.mts +152 -0
- package/dist/pluralizer.mjs +676 -0
- package/dist/primitives-B26uZolQ.cjs +228 -0
- package/dist/primitives-KsFUp3kQ.mjs +144 -0
- package/dist/specials-D48_IZbd.d.mts +108 -0
- package/dist/specials-DzLr1ZgU.cjs +477 -0
- package/dist/specials-LVONlKbQ.d.cts +108 -0
- package/dist/specials-uhDuRg8H.mjs +292 -0
- package/dist/string-CBAbxaG1.d.mts +258 -0
- package/dist/string-CsNsm_65.d.cts +258 -0
- package/dist/stylog.cjs +621 -0
- package/dist/stylog.d.cts +49 -0
- package/dist/stylog.d.mts +49 -0
- package/dist/stylog.mjs +614 -0
- package/dist/timezone-B2OYK6Fh.mjs +5589 -0
- package/dist/timezone-Beh9IGpw.cjs +5625 -0
- package/dist/types/array.cjs +16 -0
- package/dist/types/array.d.cts +18 -0
- package/dist/types/array.d.mts +18 -0
- package/dist/types/array.mjs +17 -0
- package/dist/types/colors.cjs +16 -0
- package/dist/types/colors.d.cts +18 -0
- package/dist/types/colors.d.mts +18 -0
- package/dist/types/colors.mjs +17 -0
- package/dist/types/converter.cjs +16 -0
- package/dist/types/converter.d.cts +18 -0
- package/dist/types/converter.d.mts +18 -0
- package/dist/types/converter.mjs +17 -0
- package/dist/types/form.cjs +16 -0
- package/dist/types/form.d.cts +18 -0
- package/dist/types/form.d.mts +18 -0
- package/dist/types/form.mjs +17 -0
- package/dist/types/hash.cjs +16 -0
- package/dist/types/hash.d.cts +18 -0
- package/dist/types/hash.d.mts +18 -0
- package/dist/types/hash.mjs +17 -0
- package/dist/types/http-status.cjs +16 -0
- package/dist/types/http-status.d.cts +18 -0
- package/dist/types/http-status.d.mts +18 -0
- package/dist/types/http-status.mjs +17 -0
- package/dist/types/index.cjs +16 -0
- package/dist/types/index.d.cts +18 -0
- package/dist/types/index.d.mts +18 -0
- package/dist/types/index.mjs +17 -0
- package/dist/types/number.cjs +16 -0
- package/dist/types/number.d.cts +18 -0
- package/dist/types/number.d.mts +18 -0
- package/dist/types/number.mjs +17 -0
- package/dist/types/object.cjs +16 -0
- package/dist/types/object.d.cts +18 -0
- package/dist/types/object.d.mts +18 -0
- package/dist/types/object.mjs +17 -0
- package/dist/types/pluralizer.cjs +16 -0
- package/dist/types/pluralizer.d.cts +18 -0
- package/dist/types/pluralizer.d.mts +18 -0
- package/dist/types/pluralizer.mjs +17 -0
- package/dist/types/string.cjs +16 -0
- package/dist/types/string.d.cts +18 -0
- package/dist/types/string.d.mts +18 -0
- package/dist/types/string.mjs +17 -0
- package/dist/types/stylog.cjs +16 -0
- package/dist/types/stylog.d.cts +18 -0
- package/dist/types/stylog.d.mts +18 -0
- package/dist/types/stylog.mjs +17 -0
- package/dist/types/utils.cjs +16 -0
- package/dist/types/utils.d.cts +18 -0
- package/dist/types/utils.d.mts +18 -0
- package/dist/types/utils.mjs +17 -0
- package/dist/types/verbalizer.cjs +16 -0
- package/dist/types/verbalizer.d.cts +30 -0
- package/dist/types/verbalizer.d.mts +30 -0
- package/dist/types/verbalizer.mjs +17 -0
- package/dist/utilities-CLUmdQeV.cjs +140 -0
- package/dist/utilities-m5yFKqLd.mjs +105 -0
- package/dist/utils-ClW9LA6f.mjs +449 -0
- package/dist/utils-DLFRgXUC.cjs +568 -0
- package/dist/verbalizer.cjs +998 -0
- package/dist/verbalizer.d.cts +148 -0
- package/dist/verbalizer.d.mts +148 -0
- package/dist/verbalizer.mjs +996 -0
- package/package.json +249 -0
package/dist/guards.cjs
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026 - present Nazmul Hassan
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
18
|
+
const require_primitives = require('./primitives-B26uZolQ.cjs');
|
|
19
|
+
const require_guards = require('./guards-C8gkvIHb.cjs');
|
|
20
|
+
const require_specials = require('./specials-DzLr1ZgU.cjs');
|
|
21
|
+
const require_guards$1 = require('./guards-Efhp1mNy.cjs');
|
|
22
|
+
const require_convert = require('./convert-BOCgUv2D.cjs');
|
|
23
|
+
|
|
24
|
+
//#region src/string/guards.ts
|
|
25
|
+
/**
|
|
26
|
+
* * Checks if a string is a palindrome.
|
|
27
|
+
* @param input - The string to check.
|
|
28
|
+
* @returns True if the string is a palindrome, otherwise false.
|
|
29
|
+
*/
|
|
30
|
+
const isPalindrome = (input) => {
|
|
31
|
+
const normalized = input.toLowerCase().replace(/[^a-z0-9]/g, "");
|
|
32
|
+
return normalized === require_convert.reverseString(normalized);
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* * Checks if a string is in camelCase format.
|
|
36
|
+
* @param str The string to check.
|
|
37
|
+
* @returns `true` if the string is in camelCase, otherwise `false`.
|
|
38
|
+
*/
|
|
39
|
+
function isCamelCase(str) {
|
|
40
|
+
return /^[a-z]+([A-Z][a-z]*)*$/.test(str);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* * Checks if a string is in PascalCase format.
|
|
44
|
+
* @param str The string to check.
|
|
45
|
+
* @returns `true` if the string is in PascalCase, otherwise `false`.
|
|
46
|
+
*/
|
|
47
|
+
function isPascalCase(str) {
|
|
48
|
+
return /^[A-Z][a-zA-Z]*$/.test(str);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* * Checks if a string is in snake_case format.
|
|
52
|
+
* @param str The string to check.
|
|
53
|
+
* @returns `true` if the string is in snake_case, otherwise `false`.
|
|
54
|
+
*/
|
|
55
|
+
function isSnakeCase(str) {
|
|
56
|
+
return /^[a-z]+(_[a-z]+)*$/.test(str);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* * Checks if a string is in kebab-case format.
|
|
60
|
+
* @param str The string to check.
|
|
61
|
+
* @returns `true` if the string is in kebab-case, otherwise `false`.
|
|
62
|
+
*/
|
|
63
|
+
function isKebabCase(str) {
|
|
64
|
+
return /^[a-z]+(-[a-z]+)*$/.test(str);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* * Checks if a string contains only emojis.
|
|
68
|
+
* @param str The string to check.
|
|
69
|
+
* @returns `true` if the string contains only emojis, otherwise `false`.
|
|
70
|
+
*/
|
|
71
|
+
function isEmojiOnly(str) {
|
|
72
|
+
return /^[\p{Emoji}]+$/u.test(str);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
//#endregion
|
|
76
|
+
exports.areInvalidNumbers = require_convert.areInvalidNumbers;
|
|
77
|
+
exports.areNumbersInvalid = require_convert.areInvalidNumbers;
|
|
78
|
+
exports.doesReturnPromise = require_specials.isReturningPromise;
|
|
79
|
+
exports.isArray = require_specials.isArray;
|
|
80
|
+
exports.isArrayOfType = require_specials.isArrayOfType;
|
|
81
|
+
exports.isArrayWithLength = require_specials.isValidArray;
|
|
82
|
+
exports.isBase64 = require_specials.isBase64;
|
|
83
|
+
exports.isBigInt = require_primitives.isBigInt;
|
|
84
|
+
exports.isBinaryString = require_specials.isBinaryString;
|
|
85
|
+
exports.isBoolean = require_primitives.isBoolean;
|
|
86
|
+
exports.isBrowser = require_specials.isBrowser;
|
|
87
|
+
exports.isCSSColor = require_guards.isCSSColor;
|
|
88
|
+
exports.isCamelCase = isCamelCase;
|
|
89
|
+
exports.isDate = require_specials.isDate;
|
|
90
|
+
exports.isDateLike = require_guards$1.isDateLike;
|
|
91
|
+
exports.isDateString = require_specials.isDateString;
|
|
92
|
+
exports.isEmail = require_specials.isEmail;
|
|
93
|
+
exports.isEmailArray = require_specials.isEmailArray;
|
|
94
|
+
exports.isEmojiOnly = isEmojiOnly;
|
|
95
|
+
exports.isEmptyObject = require_specials.isEmptyObject;
|
|
96
|
+
exports.isEmptyObjectGuard = require_specials.isEmptyObject;
|
|
97
|
+
exports.isEnvironment = require_specials.isEnvironment;
|
|
98
|
+
exports.isError = require_specials.isError;
|
|
99
|
+
exports.isEven = require_convert.isEven;
|
|
100
|
+
exports.isEvenNumber = require_convert.isEven;
|
|
101
|
+
exports.isExpectedNodeENV = require_specials.isEnvironment;
|
|
102
|
+
exports.isFalsy = require_primitives.isFalsy;
|
|
103
|
+
exports.isFibonacci = require_convert.isFibonacci;
|
|
104
|
+
exports.isFunction = require_specials.isFunction;
|
|
105
|
+
exports.isHSL = require_guards.isHSL;
|
|
106
|
+
exports.isHSLA = require_guards.isHSLA;
|
|
107
|
+
exports.isHex6 = require_guards.isHex6;
|
|
108
|
+
exports.isHex8 = require_guards.isHex8;
|
|
109
|
+
exports.isHexString = require_specials.isHexString;
|
|
110
|
+
exports.isIPAddress = require_specials.isIPAddress;
|
|
111
|
+
exports.isInteger = require_primitives.isInteger;
|
|
112
|
+
exports.isInvalidNumber = require_convert.areInvalidNumbers;
|
|
113
|
+
exports.isJSON = require_specials.isJSON;
|
|
114
|
+
exports.isJSONObject = require_specials.isJSON;
|
|
115
|
+
exports.isKebabCase = isKebabCase;
|
|
116
|
+
exports.isLeapYear = require_guards$1.isLeapYear;
|
|
117
|
+
exports.isMap = require_specials.isMap;
|
|
118
|
+
exports.isMethod = require_specials.isMethodDescriptor;
|
|
119
|
+
exports.isMethodDescriptor = require_specials.isMethodDescriptor;
|
|
120
|
+
exports.isMultiple = require_convert.isMultiple;
|
|
121
|
+
exports.isNativeTimeZoneId = require_guards$1.isNativeTimeZoneId;
|
|
122
|
+
exports.isNode = require_specials.isNode;
|
|
123
|
+
exports.isNodeENV = require_specials.isEnvironment;
|
|
124
|
+
exports.isNodeEnvironment = require_specials.isEnvironment;
|
|
125
|
+
exports.isNonEmptyString = require_primitives.isNonEmptyString;
|
|
126
|
+
exports.isNormalPrimitive = require_primitives.isNormalPrimitive;
|
|
127
|
+
exports.isNotEmptyObject = require_specials.isNotEmptyObject;
|
|
128
|
+
exports.isNull = require_primitives.isNull;
|
|
129
|
+
exports.isNumber = require_primitives.isNumber;
|
|
130
|
+
exports.isNumberInvalid = require_convert.areInvalidNumbers;
|
|
131
|
+
exports.isNumericString = require_specials.isNumericString;
|
|
132
|
+
exports.isObject = require_specials.isObject;
|
|
133
|
+
exports.isObjectEmpty = require_specials.isEmptyObject;
|
|
134
|
+
exports.isObjectWithKeys = require_specials.isObjectWithKeys;
|
|
135
|
+
exports.isOdd = require_convert.isOdd;
|
|
136
|
+
exports.isOddNumber = require_convert.isOdd;
|
|
137
|
+
exports.isPalindrome = isPalindrome;
|
|
138
|
+
exports.isPartOfFibonacci = require_convert.isFibonacci;
|
|
139
|
+
exports.isPartOfFibonacciSeries = require_convert.isFibonacci;
|
|
140
|
+
exports.isPascalCase = isPascalCase;
|
|
141
|
+
exports.isPerfectSquare = require_convert.isPerfectSquare;
|
|
142
|
+
exports.isPhoneNumber = require_specials.isPhoneNumber;
|
|
143
|
+
exports.isPositiveInteger = require_primitives.isPositiveInteger;
|
|
144
|
+
exports.isPrimitive = require_primitives.isPrimitive;
|
|
145
|
+
exports.isPromise = require_specials.isPromise;
|
|
146
|
+
exports.isRGB = require_guards.isRGB;
|
|
147
|
+
exports.isRGBA = require_guards.isRGBA;
|
|
148
|
+
exports.isRegExp = require_specials.isRegExp;
|
|
149
|
+
exports.isRegularExpression = require_specials.isRegExp;
|
|
150
|
+
exports.isReturningPromise = require_specials.isReturningPromise;
|
|
151
|
+
exports.isSet = require_specials.isSet;
|
|
152
|
+
exports.isSnakeCase = isSnakeCase;
|
|
153
|
+
exports.isString = require_primitives.isString;
|
|
154
|
+
exports.isSymbol = require_primitives.isSymbol;
|
|
155
|
+
exports.isTimeWithUnit = require_guards$1.isTimeWithUnit;
|
|
156
|
+
exports.isTruthy = require_primitives.isTruthy;
|
|
157
|
+
exports.isURL = require_specials.isURL;
|
|
158
|
+
exports.isUUID = require_specials.isUUID;
|
|
159
|
+
exports.isUndefined = require_primitives.isUndefined;
|
|
160
|
+
exports.isValidArray = require_specials.isValidArray;
|
|
161
|
+
exports.isValidEmail = require_specials.isEmail;
|
|
162
|
+
exports.isValidJSON = require_specials.isJSON;
|
|
163
|
+
exports.isValidMap = require_specials.isMap;
|
|
164
|
+
exports.isValidObject = require_specials.isNotEmptyObject;
|
|
165
|
+
exports.isValidSet = require_specials.isSet;
|
|
166
|
+
exports.isValidTime = require_guards$1.isValidTime;
|
|
167
|
+
exports.isValidTimeString = require_guards$1.isValidTime;
|
|
168
|
+
exports.isValidTimeZoneId = require_guards$1.isValidTimeZoneId;
|
|
169
|
+
exports.isValidURL = require_specials.isURL;
|
|
170
|
+
exports.isValidUTC = require_guards$1.isValidUTCOffset;
|
|
171
|
+
exports.isValidUTCOffSet = require_guards$1.isValidUTCOffset;
|
|
172
|
+
exports.isValidUTCOffset = require_guards$1.isValidUTCOffset;
|
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2026 - present Nazmul Hassan
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import { $ as Maybe, Ct as TimeZoneIdNative, J as FalsyPrimitive, Tt as UTCOffset, X as GenericFn, dt as $TimeZoneIdentifier, ft as ClockTime, it as Numeric, lt as ValidArray, st as Primitive, tt as NormalPrimitive, xt as TimeWithUnit, y as GenericObject, z as AsyncFunction } from "./object-Blq0Amdv.cjs";
|
|
18
|
+
import { b as RGB, g as HSLA, h as HSL, s as CSSColor, v as Hex6, x as RGBA, y as Hex8 } from "./Color-B3mgF9Dh.cjs";
|
|
19
|
+
import { a as isEmail, c as isHexString, d as isNumericString, f as isPhoneNumber, i as isDateString, l as isIPAddress, m as isUUID, n as isBinaryString, o as isEmailArray, p as isURL, r as isBrowser, s as isEnvironment, t as isBase64, u as isNode } from "./specials-LVONlKbQ.cjs";
|
|
20
|
+
|
|
21
|
+
//#region src/colors/guards.d.ts
|
|
22
|
+
/**
|
|
23
|
+
* Checks if a color is in `Hex` format.
|
|
24
|
+
*
|
|
25
|
+
* @param color Color to check.
|
|
26
|
+
* @returns Boolean: `true` if it's a `Hex` color, `false` if not.
|
|
27
|
+
*/
|
|
28
|
+
declare function isHex6(color: string): color is Hex6;
|
|
29
|
+
/**
|
|
30
|
+
* Checks if a color is in `Hex8` format.
|
|
31
|
+
*
|
|
32
|
+
* @param color Color to check.
|
|
33
|
+
* @returns Boolean: `true` if it's a `Hex8` color, `false` if not.
|
|
34
|
+
*/
|
|
35
|
+
declare function isHex8(color: string): color is Hex8;
|
|
36
|
+
/**
|
|
37
|
+
* Checks if a color is in `RGB` format and within valid ranges.
|
|
38
|
+
*
|
|
39
|
+
* @param color Color to check.
|
|
40
|
+
* @returns `true` if it's a `RGB` color, `false` if not.
|
|
41
|
+
*/
|
|
42
|
+
declare function isRGB(color: string): color is RGB;
|
|
43
|
+
/**
|
|
44
|
+
* Checks if a color is in `RGBA` format and within valid ranges.
|
|
45
|
+
*
|
|
46
|
+
* @param color Color to check.
|
|
47
|
+
* @returns `true` if it's a `RGBA` color, `false` if not.
|
|
48
|
+
*/
|
|
49
|
+
declare function isRGBA(color: string): color is RGBA;
|
|
50
|
+
/**
|
|
51
|
+
* Checks if a color is in `HSL` format and within valid ranges.
|
|
52
|
+
*
|
|
53
|
+
* @param color Color to check.
|
|
54
|
+
* @returns `true` if it's a `HSL` color, `false` if not.
|
|
55
|
+
*/
|
|
56
|
+
declare function isHSL(color: string): color is HSL;
|
|
57
|
+
/**
|
|
58
|
+
* Checks if a color is in `HSLA` format and within valid ranges.
|
|
59
|
+
*
|
|
60
|
+
* @param color Color to check.
|
|
61
|
+
* @returns `true` if it's a `HSLA` color, `false` if not.
|
|
62
|
+
*/
|
|
63
|
+
declare function isHSLA(color: string): color is HSLA;
|
|
64
|
+
/** * Check if a string represents a valid `CSSColor`. */
|
|
65
|
+
declare function isCSSColor(value: string): value is CSSColor;
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/date/guards.d.ts
|
|
68
|
+
/**
|
|
69
|
+
* * Checks if the provided value is a valid time string in "HH:MM" format.
|
|
70
|
+
*
|
|
71
|
+
* @param value - The value to check.
|
|
72
|
+
* @returns `true` if the value is a valid time string, `false` otherwise.
|
|
73
|
+
*/
|
|
74
|
+
declare function isValidTime(value: unknown): value is ClockTime;
|
|
75
|
+
/**
|
|
76
|
+
* * Checks if the provided value is a valid `UTCOffset` (e.g. `UTC-01:30`).
|
|
77
|
+
*
|
|
78
|
+
* @param value - The value to check.
|
|
79
|
+
* @returns `true` if the value is a valid utc offset, `false` otherwise.
|
|
80
|
+
*/
|
|
81
|
+
declare function isValidUTCOffset(value: unknown): value is UTCOffset;
|
|
82
|
+
/**
|
|
83
|
+
* * Validates whether the provided value is a recognized IANA time zone identifier (excluding `"Factory"`), based on the {@link https://en.wikipedia.org/wiki/List_of_tz_database_time_zones IANA TZ Database}.
|
|
84
|
+
*
|
|
85
|
+
* @remarks
|
|
86
|
+
* - Relies on a large constant map of time zone identifiers, which can increase bundle size in browser environments. Matches against `597` identifiers.
|
|
87
|
+
* - Prefer {@link isNativeTimeZoneId} when you want a lightweight, native-only validation approach. Matches against `418` identifiers.
|
|
88
|
+
*
|
|
89
|
+
* @param value Time zone identifier to validate.
|
|
90
|
+
* @returns `true` if the value is a valid IANA time zone identifier, otherwise `false`.
|
|
91
|
+
*/
|
|
92
|
+
declare function isValidTimeZoneId(value: unknown): value is $TimeZoneIdentifier;
|
|
93
|
+
/**
|
|
94
|
+
* * Validates whether the provided value is a supported time zone identifier using the native JavaScript API (`Intl.supportedValuesOf('timeZone')`).
|
|
95
|
+
*
|
|
96
|
+
* @remarks
|
|
97
|
+
* - Uses only native {@link Intl} capabilities—minimal code footprint, highly performant. Matches against `418` identifiers.
|
|
98
|
+
* - Prefer {@link isValidTimeZoneId} when validation must align strictly with the full
|
|
99
|
+
* {@link https://en.wikipedia.org/wiki/List_of_tz_database_time_zones IANA TZ Database}. Matches against `597` identifiers.
|
|
100
|
+
*
|
|
101
|
+
* @param value Time zone identifier to validate.
|
|
102
|
+
* @returns `true` if the value is a valid native JS-supported time zone identifier, otherwise `false`.
|
|
103
|
+
*/
|
|
104
|
+
declare function isNativeTimeZoneId(value: unknown): value is TimeZoneIdNative;
|
|
105
|
+
/**
|
|
106
|
+
* * Checks if the year is a leap year.
|
|
107
|
+
*
|
|
108
|
+
* - A year is a leap year if it is divisible by 4, but not divisible by 100, unless it is also divisible by 400.
|
|
109
|
+
* - For example, 2000 and 2400 are leap years, but 1900 and 2100 are not.
|
|
110
|
+
* @param year The year to check.
|
|
111
|
+
* @returns `true` if the year is a leap year, `false` otherwise.
|
|
112
|
+
*/
|
|
113
|
+
declare function isLeapYear(year: Numeric): boolean;
|
|
114
|
+
/**
|
|
115
|
+
* * Checks if a value is a date-like object from `Date`, `Chronos`, `Moment.js`, `Day.js`, `Luxon`, `JS-Joda`, or `Temporal`
|
|
116
|
+
* @param value Value to check if it is date-like object.
|
|
117
|
+
* @returns `true` if the value is date-like object, otherwise `false`.
|
|
118
|
+
*/
|
|
119
|
+
declare function isDateLike(value: unknown): boolean;
|
|
120
|
+
/** Checks if a value represents time value (number) with different forms of {@link TimeWithUnit units} */
|
|
121
|
+
declare function isTimeWithUnit(value: unknown): value is TimeWithUnit;
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/guards/non-primitives.d.ts
|
|
124
|
+
/**
|
|
125
|
+
* * Type guard to check if a value is an array.
|
|
126
|
+
* @param value - The value to check.
|
|
127
|
+
* @returns `true` if the value is an array, otherwise `false`.
|
|
128
|
+
*/
|
|
129
|
+
declare function isArray<T>(value: unknown): value is Array<T>;
|
|
130
|
+
/**
|
|
131
|
+
* * Type guard to check if a value is an array with length.
|
|
132
|
+
* @param value - The value to check.
|
|
133
|
+
* @returns `true` if the value is an array with length, otherwise `false`.
|
|
134
|
+
*/
|
|
135
|
+
declare function isValidArray<T>(value: unknown): value is Array<T>;
|
|
136
|
+
/**
|
|
137
|
+
* * Type guard to check if a value is an object (excluding null).
|
|
138
|
+
* @param value - The value to check.
|
|
139
|
+
* @returns `true` if the value is an object, otherwise `false`.
|
|
140
|
+
*/
|
|
141
|
+
declare function isObject(value: unknown): value is GenericObject;
|
|
142
|
+
/**
|
|
143
|
+
* * Type guard to check if a value is an object (excluding null) and has keys in it.
|
|
144
|
+
* @param value - The value to check.
|
|
145
|
+
* @returns `true` if the value is an object with valid keys, otherwise `false`.
|
|
146
|
+
*/
|
|
147
|
+
declare function isNotEmptyObject(value: unknown): value is GenericObject;
|
|
148
|
+
/**
|
|
149
|
+
* * Type guard to check if a value is an object with specific keys.
|
|
150
|
+
* @param value - The value to check.
|
|
151
|
+
* @param keys - The list of keys the object should contain.
|
|
152
|
+
* @returns `true` if the value is an object with the specified keys, otherwise `false`.
|
|
153
|
+
*/
|
|
154
|
+
declare function isObjectWithKeys<Key extends string>(value: unknown, keys: ValidArray<Key>): value is { [K in Key]: unknown };
|
|
155
|
+
/**
|
|
156
|
+
* * Type guard to check if a value is an empty object.
|
|
157
|
+
* @param value - The value to check.
|
|
158
|
+
* @returns `true` if the value is an empty object, otherwise `false`.
|
|
159
|
+
*/
|
|
160
|
+
declare function isEmptyObject<T extends GenericObject>(value: T): boolean;
|
|
161
|
+
/**
|
|
162
|
+
* * Type guard to check if a value is a function.
|
|
163
|
+
* @param value - The value to check.
|
|
164
|
+
* @returns `true` if the value is a function, otherwise `false`.
|
|
165
|
+
*/
|
|
166
|
+
declare function isFunction(value: unknown): value is GenericFn;
|
|
167
|
+
/**
|
|
168
|
+
* * Determines whether the provided property descriptor represents a method.
|
|
169
|
+
*
|
|
170
|
+
* @param descriptor - The property descriptor to check.
|
|
171
|
+
* @returns `true` if the descriptor is defined and its value is a function; otherwise, `false`.
|
|
172
|
+
*/
|
|
173
|
+
declare const isMethodDescriptor: (descriptor: Maybe<PropertyDescriptor>) => boolean;
|
|
174
|
+
/**
|
|
175
|
+
* * Type guard to check if a value is a Date object.
|
|
176
|
+
* @param value - The value to check.
|
|
177
|
+
* @returns `true` if the value is a Date object, otherwise `false`.
|
|
178
|
+
*/
|
|
179
|
+
declare function isDate(value: unknown): value is Date;
|
|
180
|
+
/**
|
|
181
|
+
* * Type guard to check if a value is an array of a specific type.
|
|
182
|
+
* @param value - The value to check.
|
|
183
|
+
* @param typeCheck - The type guard function to check each item of the array.
|
|
184
|
+
* @returns `true` if the value is an array of the specified type, otherwise `false`.
|
|
185
|
+
*/
|
|
186
|
+
declare function isArrayOfType<T>(value: unknown, typeCheck: (item: unknown) => item is T): value is T[];
|
|
187
|
+
/**
|
|
188
|
+
* * Type guard to check if a value is a Promise.
|
|
189
|
+
* @param value - The value to check.
|
|
190
|
+
* @returns `true` if the value is a Promise, otherwise `false`.
|
|
191
|
+
*/
|
|
192
|
+
declare function isPromise<T>(value: unknown): value is Promise<T>;
|
|
193
|
+
/**
|
|
194
|
+
* * Type guard to check if a value is a Set.
|
|
195
|
+
* @param value - The value to check.
|
|
196
|
+
* @returns `true` if the value is a Set, otherwise `false`.
|
|
197
|
+
*/
|
|
198
|
+
declare function isSet<T>(value: unknown): value is Set<T>;
|
|
199
|
+
/**
|
|
200
|
+
* * Type guard to check if a value is a Map.
|
|
201
|
+
* @param value - The value to check.
|
|
202
|
+
* @returns `true` if the value is a Map, otherwise `false`.
|
|
203
|
+
*/
|
|
204
|
+
declare function isMap<K, V>(value: unknown): value is Map<K, V>;
|
|
205
|
+
/**
|
|
206
|
+
* * Type guard to check if a value is a RegExp.
|
|
207
|
+
* @param value - The value to check.
|
|
208
|
+
* @returns `true` if the value is a RegExp, otherwise `false`.
|
|
209
|
+
*/
|
|
210
|
+
declare function isRegExp(value: unknown): value is RegExp;
|
|
211
|
+
/**
|
|
212
|
+
* * Type guard to check if a value is an Error object.
|
|
213
|
+
* @param value - The value to check.
|
|
214
|
+
* @returns `true` if the value is an Error object, otherwise `false`.
|
|
215
|
+
*/
|
|
216
|
+
declare function isError(value: unknown): value is Error;
|
|
217
|
+
/**
|
|
218
|
+
* * Type guard to check if a string is valid JSON.
|
|
219
|
+
* @param value - The value to check.
|
|
220
|
+
* @returns `true` if the value is valid JSON, otherwise `false`.
|
|
221
|
+
*/
|
|
222
|
+
declare function isJSON(value: unknown): value is string;
|
|
223
|
+
/**
|
|
224
|
+
* * Type guard to check if a function returns a Promise.
|
|
225
|
+
* @param fn - The function to check.
|
|
226
|
+
* @returns `true` if the function returns a Promise, otherwise `false`.
|
|
227
|
+
*/
|
|
228
|
+
declare function isReturningPromise<T>(fn: unknown): fn is AsyncFunction<T>;
|
|
229
|
+
//#endregion
|
|
230
|
+
//#region src/guards/primitives.d.ts
|
|
231
|
+
/**
|
|
232
|
+
* * Type guard to check whether a value is a finite number (excluding `NaN` and `Infinity`).
|
|
233
|
+
* @param value - The value to test.
|
|
234
|
+
* @returns `true` if the value is a finite number; otherwise `false`.
|
|
235
|
+
*/
|
|
236
|
+
declare function isNumber(value: unknown): value is number;
|
|
237
|
+
/**
|
|
238
|
+
* * Type guard to check if a value is a string.
|
|
239
|
+
* @param value - The value to check.
|
|
240
|
+
* @returns `true` if the value is a string, otherwise `false`.
|
|
241
|
+
*/
|
|
242
|
+
declare function isString(value: unknown): value is string;
|
|
243
|
+
/**
|
|
244
|
+
* * Type guard to check if a value is an integer.
|
|
245
|
+
* @param value - The value to check.
|
|
246
|
+
* @returns `true` if the value is an integer, otherwise `false`.
|
|
247
|
+
*/
|
|
248
|
+
declare function isInteger(value: unknown): value is number;
|
|
249
|
+
/**
|
|
250
|
+
* * Type guard to check if a value is a positive integer.
|
|
251
|
+
* @param value - The value to check.
|
|
252
|
+
* @returns `true` if the value is a positive integer, otherwise `false`.
|
|
253
|
+
*/
|
|
254
|
+
declare function isPositiveInteger(value: unknown): value is number;
|
|
255
|
+
/**
|
|
256
|
+
* * Type guard to check if a value is a boolean.
|
|
257
|
+
* @param value - The value to check.
|
|
258
|
+
* @returns `true` if the value is a boolean, otherwise `false`.
|
|
259
|
+
*/
|
|
260
|
+
declare function isBoolean(value: unknown): value is boolean;
|
|
261
|
+
/**
|
|
262
|
+
* * Type guard to check if a value is null.
|
|
263
|
+
* @param value - The value to check.
|
|
264
|
+
* @returns `true` if the value is null, otherwise `false`.
|
|
265
|
+
*/
|
|
266
|
+
declare function isNull(value: unknown): value is null;
|
|
267
|
+
/**
|
|
268
|
+
* * Type guard to check if a value is undefined.
|
|
269
|
+
* @param value - The value to check.
|
|
270
|
+
* @returns `true` if the value is undefined, otherwise `false`.
|
|
271
|
+
*/
|
|
272
|
+
declare function isUndefined(value: unknown): value is undefined;
|
|
273
|
+
/**
|
|
274
|
+
* * Type guard to check if a value is a symbol.
|
|
275
|
+
* @param value - The value to check.
|
|
276
|
+
* @returns `true` if the value is a symbol, otherwise `false`.
|
|
277
|
+
*/
|
|
278
|
+
declare function isSymbol(value: unknown): value is symbol;
|
|
279
|
+
/**
|
|
280
|
+
* * Type guard to check if a value is a BigInt.
|
|
281
|
+
* @param value - The value to check.
|
|
282
|
+
* @returns `true` if the value is a BigInt, otherwise `false`.
|
|
283
|
+
*/
|
|
284
|
+
declare function isBigInt(value: unknown): value is bigint;
|
|
285
|
+
/**
|
|
286
|
+
* * Type guard to check if a value is a primitive (i.e. `string | number | boolean | symbol | bigint | null | undefined`).
|
|
287
|
+
* @param value - The value to check.
|
|
288
|
+
* @returns `true` if the value is a primitive, otherwise `false`.
|
|
289
|
+
*/
|
|
290
|
+
declare function isPrimitive(value: unknown): value is Primitive;
|
|
291
|
+
/**
|
|
292
|
+
* * Type guard to check if a value is a normal primitive (i.e. `string | number | boolean | null | undefined`).
|
|
293
|
+
* @param value - The value to check.
|
|
294
|
+
* @returns `true` if the value is a primitive, otherwise `false`.
|
|
295
|
+
*/
|
|
296
|
+
declare function isNormalPrimitive(value: unknown): value is NormalPrimitive;
|
|
297
|
+
/**
|
|
298
|
+
* * Type guard to check if a value is a non-empty string.
|
|
299
|
+
* @param value - The value to check.
|
|
300
|
+
* @returns `true` if the value is a non-empty string, otherwise `false`.
|
|
301
|
+
*/
|
|
302
|
+
declare function isNonEmptyString(value: unknown): value is string;
|
|
303
|
+
/**
|
|
304
|
+
* * Type guard to check if a value is falsy.
|
|
305
|
+
* @param value - The value to check.
|
|
306
|
+
* @returns `true` if the value is falsy, otherwise `false`.
|
|
307
|
+
*/
|
|
308
|
+
declare function isFalsy(value: unknown): value is FalsyPrimitive;
|
|
309
|
+
/**
|
|
310
|
+
* * Type guard to check if a value is truthy.
|
|
311
|
+
* @param value - The value to check.
|
|
312
|
+
* @returns `true` if the value is truthy (not null or undefined), otherwise `false`.
|
|
313
|
+
*/
|
|
314
|
+
declare function isTruthy<T>(value: T): value is Exclude<T, FalsyPrimitive>;
|
|
315
|
+
//#endregion
|
|
316
|
+
//#region src/number/guards.d.ts
|
|
317
|
+
/**
|
|
318
|
+
* * Check if a number is even or not.
|
|
319
|
+
*
|
|
320
|
+
* @param input The number or numeric string to check.
|
|
321
|
+
* @returns Boolean: `true` if even and `false` if not even.
|
|
322
|
+
*/
|
|
323
|
+
declare const isEven: (input: Numeric) => boolean;
|
|
324
|
+
/**
|
|
325
|
+
* * Checks if a number is odd or not.
|
|
326
|
+
*
|
|
327
|
+
* @param input The number or numeric string to check.
|
|
328
|
+
* @returns Boolean: `true` if odd and `false` if not odd.
|
|
329
|
+
*/
|
|
330
|
+
declare const isOdd: (input: Numeric) => boolean;
|
|
331
|
+
/**
|
|
332
|
+
* * Checks if a number is a multiple of another number.
|
|
333
|
+
*
|
|
334
|
+
* @param input - The number to check.
|
|
335
|
+
* @param multipleOf - The number to check against.
|
|
336
|
+
* @returns `true` if `input` is a multiple of `multipleOf`, otherwise `false`.
|
|
337
|
+
*/
|
|
338
|
+
declare const isMultiple: (input: number, multipleOf: number) => boolean;
|
|
339
|
+
/**
|
|
340
|
+
* * Checks if a number is a perfect square.
|
|
341
|
+
*
|
|
342
|
+
* @param num The number to check.
|
|
343
|
+
* @returns `true` if the number is a perfect square, otherwise `false`.
|
|
344
|
+
*/
|
|
345
|
+
declare function isPerfectSquare(num: number): boolean;
|
|
346
|
+
/**
|
|
347
|
+
* * Checks if a number is part of the Fibonacci sequence.
|
|
348
|
+
*
|
|
349
|
+
* @param num The number to check.
|
|
350
|
+
* @returns `true` if the number is a Fibonacci number, otherwise `false`.
|
|
351
|
+
*/
|
|
352
|
+
declare function isFibonacci(num: number): boolean;
|
|
353
|
+
/**
|
|
354
|
+
* * Checks whether any input is not a finite number.
|
|
355
|
+
*
|
|
356
|
+
* @param numbers - The list of numbers to validate.
|
|
357
|
+
* @returns `true` if any input is not finite.
|
|
358
|
+
*/
|
|
359
|
+
declare function areInvalidNumbers(...numbers: number[]): boolean;
|
|
360
|
+
//#endregion
|
|
361
|
+
//#region src/string/guards.d.ts
|
|
362
|
+
/**
|
|
363
|
+
* * Checks if a string is a palindrome.
|
|
364
|
+
* @param input - The string to check.
|
|
365
|
+
* @returns True if the string is a palindrome, otherwise false.
|
|
366
|
+
*/
|
|
367
|
+
declare const isPalindrome: (input: string) => boolean;
|
|
368
|
+
/**
|
|
369
|
+
* * Checks if a string is in camelCase format.
|
|
370
|
+
* @param str The string to check.
|
|
371
|
+
* @returns `true` if the string is in camelCase, otherwise `false`.
|
|
372
|
+
*/
|
|
373
|
+
declare function isCamelCase(str: string): boolean;
|
|
374
|
+
/**
|
|
375
|
+
* * Checks if a string is in PascalCase format.
|
|
376
|
+
* @param str The string to check.
|
|
377
|
+
* @returns `true` if the string is in PascalCase, otherwise `false`.
|
|
378
|
+
*/
|
|
379
|
+
declare function isPascalCase(str: string): boolean;
|
|
380
|
+
/**
|
|
381
|
+
* * Checks if a string is in snake_case format.
|
|
382
|
+
* @param str The string to check.
|
|
383
|
+
* @returns `true` if the string is in snake_case, otherwise `false`.
|
|
384
|
+
*/
|
|
385
|
+
declare function isSnakeCase(str: string): boolean;
|
|
386
|
+
/**
|
|
387
|
+
* * Checks if a string is in kebab-case format.
|
|
388
|
+
* @param str The string to check.
|
|
389
|
+
* @returns `true` if the string is in kebab-case, otherwise `false`.
|
|
390
|
+
*/
|
|
391
|
+
declare function isKebabCase(str: string): boolean;
|
|
392
|
+
/**
|
|
393
|
+
* * Checks if a string contains only emojis.
|
|
394
|
+
* @param str The string to check.
|
|
395
|
+
* @returns `true` if the string contains only emojis, otherwise `false`.
|
|
396
|
+
*/
|
|
397
|
+
declare function isEmojiOnly(str: string): boolean;
|
|
398
|
+
//#endregion
|
|
399
|
+
export { areInvalidNumbers, areInvalidNumbers as areNumbersInvalid, areInvalidNumbers as isInvalidNumber, areInvalidNumbers as isNumberInvalid, isReturningPromise as doesReturnPromise, isReturningPromise, isArray, isArrayOfType, isValidArray as isArrayWithLength, isValidArray, isBase64, isBigInt, isBinaryString, isBoolean, isBrowser, isCSSColor, isCamelCase, isDate, isDateLike, isDateString, isEmail, isEmail as isValidEmail, isEmailArray, isEmojiOnly, isEmptyObject, isEmptyObject as isEmptyObjectGuard, isEmptyObject as isObjectEmpty, isEnvironment, isEnvironment as isExpectedNodeENV, isEnvironment as isNodeENV, isEnvironment as isNodeEnvironment, isError, isEven, isEven as isEvenNumber, isFalsy, isFibonacci, isFibonacci as isPartOfFibonacci, isFibonacci as isPartOfFibonacciSeries, isFunction, isHSL, isHSLA, isHex6, isHex8, isHexString, isIPAddress, isInteger, isJSON, isJSON as isJSONObject, isJSON as isValidJSON, isKebabCase, isLeapYear, isMap, isMap as isValidMap, isMethodDescriptor as isMethod, isMethodDescriptor, isMultiple, isNativeTimeZoneId, isNode, isNonEmptyString, isNormalPrimitive, isNotEmptyObject, isNotEmptyObject as isValidObject, isNull, isNumber, isNumericString, isObject, isObjectWithKeys, isOdd, isOdd as isOddNumber, isPalindrome, isPascalCase, isPerfectSquare, isPhoneNumber, isPositiveInteger, isPrimitive, isPromise, isRGB, isRGBA, isRegExp, isRegExp as isRegularExpression, isSet, isSet as isValidSet, isSnakeCase, isString, isSymbol, isTimeWithUnit, isTruthy, isURL, isURL as isValidURL, isUUID, isUndefined, isValidTime, isValidTime as isValidTimeString, isValidTimeZoneId, isValidUTCOffset as isValidUTC, isValidUTCOffset as isValidUTCOffSet, isValidUTCOffset };
|