@stryke/types 0.0.1

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.
Files changed (225) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +295 -0
  3. package/dist/convert/buffer-to-string.cjs +8 -0
  4. package/dist/convert/buffer-to-string.d.ts +1 -0
  5. package/dist/convert/buffer-to-string.mjs +1 -0
  6. package/dist/convert/index.cjs +71 -0
  7. package/dist/convert/index.d.ts +6 -0
  8. package/dist/convert/index.mjs +1 -0
  9. package/dist/convert/string-to-uint8-array.cjs +8 -0
  10. package/dist/convert/string-to-uint8-array.d.ts +7 -0
  11. package/dist/convert/string-to-uint8-array.mjs +1 -0
  12. package/dist/convert/to-array.cjs +9 -0
  13. package/dist/convert/to-array.d.ts +8 -0
  14. package/dist/convert/to-array.mjs +1 -0
  15. package/dist/convert/to-string-key.cjs +9 -0
  16. package/dist/convert/to-string-key.d.ts +7 -0
  17. package/dist/convert/to-string-key.mjs +1 -0
  18. package/dist/convert/uint8-array-to-string.cjs +8 -0
  19. package/dist/convert/uint8-array-to-string.d.ts +13 -0
  20. package/dist/convert/uint8-array-to-string.mjs +1 -0
  21. package/dist/convert/utf8-array-to-string.cjs +8 -0
  22. package/dist/convert/utf8-array-to-string.d.ts +13 -0
  23. package/dist/convert/utf8-array-to-string.mjs +1 -0
  24. package/dist/helpers/index.cjs +16 -0
  25. package/dist/helpers/index.d.ts +1 -0
  26. package/dist/helpers/index.mjs +1 -0
  27. package/dist/helpers/parse-type-definition.cjs +33 -0
  28. package/dist/helpers/parse-type-definition.d.ts +8 -0
  29. package/dist/helpers/parse-type-definition.mjs +1 -0
  30. package/dist/index.cjs +49 -0
  31. package/dist/index.d.ts +12 -0
  32. package/dist/index.mjs +1 -0
  33. package/dist/type-checks/get-object-tag.cjs +8 -0
  34. package/dist/type-checks/get-object-tag.d.ts +7 -0
  35. package/dist/type-checks/get-object-tag.mjs +1 -0
  36. package/dist/type-checks/index.cjs +456 -0
  37. package/dist/type-checks/index.d.ts +41 -0
  38. package/dist/type-checks/index.mjs +1 -0
  39. package/dist/type-checks/is-array-like.cjs +11 -0
  40. package/dist/type-checks/is-array-like.d.ts +7 -0
  41. package/dist/type-checks/is-array-like.mjs +1 -0
  42. package/dist/type-checks/is-async-iterable.cjs +10 -0
  43. package/dist/type-checks/is-async-iterable.d.ts +7 -0
  44. package/dist/type-checks/is-async-iterable.mjs +1 -0
  45. package/dist/type-checks/is-bigint.cjs +9 -0
  46. package/dist/type-checks/is-bigint.d.ts +16 -0
  47. package/dist/type-checks/is-bigint.mjs +1 -0
  48. package/dist/type-checks/is-boolean.cjs +14 -0
  49. package/dist/type-checks/is-boolean.d.ts +7 -0
  50. package/dist/type-checks/is-boolean.mjs +1 -0
  51. package/dist/type-checks/is-buffer.cjs +10 -0
  52. package/dist/type-checks/is-buffer.d.ts +5 -0
  53. package/dist/type-checks/is-buffer.mjs +1 -0
  54. package/dist/type-checks/is-collection.cjs +11 -0
  55. package/dist/type-checks/is-collection.d.ts +8 -0
  56. package/dist/type-checks/is-collection.mjs +1 -0
  57. package/dist/type-checks/is-date.cjs +10 -0
  58. package/dist/type-checks/is-date.d.ts +16 -0
  59. package/dist/type-checks/is-date.mjs +1 -0
  60. package/dist/type-checks/is-deep-key.cjs +26 -0
  61. package/dist/type-checks/is-deep-key.d.ts +35 -0
  62. package/dist/type-checks/is-deep-key.mjs +1 -0
  63. package/dist/type-checks/is-empty-object.cjs +23 -0
  64. package/dist/type-checks/is-empty-object.d.ts +14 -0
  65. package/dist/type-checks/is-empty-object.mjs +1 -0
  66. package/dist/type-checks/is-empty-string.cjs +16 -0
  67. package/dist/type-checks/is-empty-string.d.ts +7 -0
  68. package/dist/type-checks/is-empty-string.mjs +1 -0
  69. package/dist/type-checks/is-empty.cjs +35 -0
  70. package/dist/type-checks/is-empty.d.ts +8 -0
  71. package/dist/type-checks/is-empty.mjs +1 -0
  72. package/dist/type-checks/is-equal.cjs +18 -0
  73. package/dist/type-checks/is-equal.d.ts +1 -0
  74. package/dist/type-checks/is-equal.mjs +1 -0
  75. package/dist/type-checks/is-error.cjs +15 -0
  76. package/dist/type-checks/is-error.d.ts +17 -0
  77. package/dist/type-checks/is-error.mjs +1 -0
  78. package/dist/type-checks/is-file-result.cjs +11 -0
  79. package/dist/type-checks/is-file-result.d.ts +8 -0
  80. package/dist/type-checks/is-file-result.mjs +1 -0
  81. package/dist/type-checks/is-float.cjs +9 -0
  82. package/dist/type-checks/is-float.d.ts +8 -0
  83. package/dist/type-checks/is-float.mjs +1 -0
  84. package/dist/type-checks/is-function.cjs +23 -0
  85. package/dist/type-checks/is-function.d.ts +10 -0
  86. package/dist/type-checks/is-function.mjs +1 -0
  87. package/dist/type-checks/is-integer.cjs +10 -0
  88. package/dist/type-checks/is-integer.d.ts +8 -0
  89. package/dist/type-checks/is-integer.mjs +1 -0
  90. package/dist/type-checks/is-mergeable-object.cjs +14 -0
  91. package/dist/type-checks/is-mergeable-object.d.ts +1 -0
  92. package/dist/type-checks/is-mergeable-object.mjs +1 -0
  93. package/dist/type-checks/is-non-null-object.cjs +10 -0
  94. package/dist/type-checks/is-non-null-object.d.ts +7 -0
  95. package/dist/type-checks/is-non-null-object.mjs +1 -0
  96. package/dist/type-checks/is-not-empty.cjs +17 -0
  97. package/dist/type-checks/is-not-empty.d.ts +7 -0
  98. package/dist/type-checks/is-not-empty.mjs +1 -0
  99. package/dist/type-checks/is-null.cjs +14 -0
  100. package/dist/type-checks/is-null.d.ts +1 -0
  101. package/dist/type-checks/is-null.mjs +1 -0
  102. package/dist/type-checks/is-number.cjs +19 -0
  103. package/dist/type-checks/is-number.d.ts +15 -0
  104. package/dist/type-checks/is-number.mjs +1 -0
  105. package/dist/type-checks/is-object-index.cjs +17 -0
  106. package/dist/type-checks/is-object-index.d.ts +7 -0
  107. package/dist/type-checks/is-object-index.mjs +1 -0
  108. package/dist/type-checks/is-object.cjs +30 -0
  109. package/dist/type-checks/is-object.d.ts +30 -0
  110. package/dist/type-checks/is-object.mjs +1 -0
  111. package/dist/type-checks/is-plain-object.cjs +17 -0
  112. package/dist/type-checks/is-plain-object.d.ts +50 -0
  113. package/dist/type-checks/is-plain-object.mjs +1 -0
  114. package/dist/type-checks/is-primitive.cjs +14 -0
  115. package/dist/type-checks/is-primitive.d.ts +1 -0
  116. package/dist/type-checks/is-primitive.mjs +1 -0
  117. package/dist/type-checks/is-promise.cjs +12 -0
  118. package/dist/type-checks/is-promise.d.ts +17 -0
  119. package/dist/type-checks/is-promise.mjs +1 -0
  120. package/dist/type-checks/is-react-element.cjs +8 -0
  121. package/dist/type-checks/is-react-element.d.ts +1 -0
  122. package/dist/type-checks/is-react-element.mjs +1 -0
  123. package/dist/type-checks/is-ref.cjs +14 -0
  124. package/dist/type-checks/is-ref.d.ts +8 -0
  125. package/dist/type-checks/is-ref.mjs +1 -0
  126. package/dist/type-checks/is-regexp.cjs +10 -0
  127. package/dist/type-checks/is-regexp.d.ts +16 -0
  128. package/dist/type-checks/is-regexp.mjs +1 -0
  129. package/dist/type-checks/is-select-option.cjs +15 -0
  130. package/dist/type-checks/is-select-option.d.ts +8 -0
  131. package/dist/type-checks/is-select-option.mjs +1 -0
  132. package/dist/type-checks/is-set-object.cjs +15 -0
  133. package/dist/type-checks/is-set-object.d.ts +7 -0
  134. package/dist/type-checks/is-set-object.mjs +1 -0
  135. package/dist/type-checks/is-set-string.cjs +16 -0
  136. package/dist/type-checks/is-set-string.d.ts +7 -0
  137. package/dist/type-checks/is-set-string.mjs +1 -0
  138. package/dist/type-checks/is-set.cjs +15 -0
  139. package/dist/type-checks/is-set.d.ts +7 -0
  140. package/dist/type-checks/is-set.mjs +1 -0
  141. package/dist/type-checks/is-string.cjs +14 -0
  142. package/dist/type-checks/is-string.d.ts +1 -0
  143. package/dist/type-checks/is-string.mjs +1 -0
  144. package/dist/type-checks/is-symbol.cjs +14 -0
  145. package/dist/type-checks/is-symbol.d.ts +1 -0
  146. package/dist/type-checks/is-symbol.mjs +1 -0
  147. package/dist/type-checks/is-typed-array.cjs +9 -0
  148. package/dist/type-checks/is-typed-array.d.ts +1 -0
  149. package/dist/type-checks/is-typed-array.mjs +1 -0
  150. package/dist/type-checks/is-typed.cjs +16 -0
  151. package/dist/type-checks/is-typed.d.ts +8 -0
  152. package/dist/type-checks/is-typed.mjs +1 -0
  153. package/dist/type-checks/is-undefined.cjs +8 -0
  154. package/dist/type-checks/is-undefined.d.ts +1 -0
  155. package/dist/type-checks/is-undefined.mjs +1 -0
  156. package/dist/type-checks/property-exists.cjs +17 -0
  157. package/dist/type-checks/property-exists.d.ts +16 -0
  158. package/dist/type-checks/property-exists.mjs +1 -0
  159. package/dist/type-checks/type-detect.cjs +38 -0
  160. package/dist/type-checks/type-detect.d.ts +1 -0
  161. package/dist/type-checks/type-detect.mjs +1 -0
  162. package/dist/utility-types/array.cjs +9 -0
  163. package/dist/utility-types/array.d.ts +130 -0
  164. package/dist/utility-types/array.mjs +1 -0
  165. package/dist/utility-types/async.cjs +1 -0
  166. package/dist/utility-types/async.d.ts +103 -0
  167. package/dist/utility-types/async.mjs +0 -0
  168. package/dist/utility-types/base.cjs +16 -0
  169. package/dist/utility-types/base.d.ts +325 -0
  170. package/dist/utility-types/base.mjs +2 -0
  171. package/dist/utility-types/configuration.cjs +1 -0
  172. package/dist/utility-types/configuration.d.ts +59 -0
  173. package/dist/utility-types/configuration.mjs +0 -0
  174. package/dist/utility-types/file.cjs +12 -0
  175. package/dist/utility-types/file.d.ts +29 -0
  176. package/dist/utility-types/file.mjs +1 -0
  177. package/dist/utility-types/form.cjs +1 -0
  178. package/dist/utility-types/form.d.ts +35 -0
  179. package/dist/utility-types/form.mjs +0 -0
  180. package/dist/utility-types/index.cjs +214 -0
  181. package/dist/utility-types/index.d.ts +19 -0
  182. package/dist/utility-types/index.mjs +1 -0
  183. package/dist/utility-types/json.cjs +1 -0
  184. package/dist/utility-types/json.d.ts +82 -0
  185. package/dist/utility-types/json.mjs +0 -0
  186. package/dist/utility-types/logic.cjs +1 -0
  187. package/dist/utility-types/logic.d.ts +152 -0
  188. package/dist/utility-types/logic.mjs +0 -0
  189. package/dist/utility-types/messages.cjs +13 -0
  190. package/dist/utility-types/messages.d.ts +24 -0
  191. package/dist/utility-types/messages.mjs +1 -0
  192. package/dist/utility-types/navigator.cjs +1 -0
  193. package/dist/utility-types/navigator.d.ts +40 -0
  194. package/dist/utility-types/navigator.mjs +0 -0
  195. package/dist/utility-types/number.cjs +1 -0
  196. package/dist/utility-types/number.d.ts +198 -0
  197. package/dist/utility-types/number.mjs +0 -0
  198. package/dist/utility-types/object.cjs +1 -0
  199. package/dist/utility-types/object.d.ts +434 -0
  200. package/dist/utility-types/object.mjs +0 -0
  201. package/dist/utility-types/package-json.cjs +1 -0
  202. package/dist/utility-types/package-json.d.ts +504 -0
  203. package/dist/utility-types/package-json.mjs +0 -0
  204. package/dist/utility-types/package-manager.cjs +18 -0
  205. package/dist/utility-types/package-manager.d.ts +14 -0
  206. package/dist/utility-types/package-manager.mjs +1 -0
  207. package/dist/utility-types/string.cjs +1 -0
  208. package/dist/utility-types/string.d.ts +87 -0
  209. package/dist/utility-types/string.mjs +0 -0
  210. package/dist/utility-types/system.cjs +1 -0
  211. package/dist/utility-types/system.d.ts +1 -0
  212. package/dist/utility-types/system.mjs +0 -0
  213. package/dist/utility-types/tsconfig.cjs +1 -0
  214. package/dist/utility-types/tsconfig.d.ts +800 -0
  215. package/dist/utility-types/tsconfig.mjs +0 -0
  216. package/dist/utility-types/user.cjs +11 -0
  217. package/dist/utility-types/user.d.ts +30 -0
  218. package/dist/utility-types/user.mjs +1 -0
  219. package/dist/utility-types/utilities.cjs +1 -0
  220. package/dist/utility-types/utilities.d.ts +53 -0
  221. package/dist/utility-types/utilities.mjs +0 -0
  222. package/dist/utility-types/validations.cjs +1 -0
  223. package/dist/utility-types/validations.d.ts +16 -0
  224. package/dist/utility-types/validations.mjs +0 -0
  225. package/package.json +1157 -0
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.uint8ArrayToString = void 0;
7
+ const uint8ArrayToString = r => decodeURIComponent(Buffer.from(r).toString("utf8"));
8
+ exports.uint8ArrayToString = uint8ArrayToString;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Convert a utf8 array to string
3
+ *
4
+ * @remarks
5
+ * This method is part of the {@linkcode Convert} namespace.
6
+ *
7
+ * @credits https://stackoverflow.com/a/41798356/1465919
8
+ * @credits https://stackoverflow.com/a/36949791/1465919
9
+ *
10
+ * @param array - Utf-8 Array
11
+ * @returns The converted string
12
+ */
13
+ export declare const uint8ArrayToString: (arr: Uint8Array) => string;
@@ -0,0 +1 @@
1
+ export const uint8ArrayToString=r=>decodeURIComponent(Buffer.from(r).toString("utf8"));
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.utf8ArrayToString = void 0;
7
+ const utf8ArrayToString = r => new TextDecoder().decode(r);
8
+ exports.utf8ArrayToString = utf8ArrayToString;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Convert a utf8 array to string
3
+ *
4
+ * @remarks
5
+ * This method is part of the {@linkcode Convert} namespace.
6
+ *
7
+ * @credits https://stackoverflow.com/a/41798356/1465919
8
+ * @credits https://stackoverflow.com/a/36949791/1465919
9
+ *
10
+ * @param array - Utf-8 Array
11
+ * @returns The converted string
12
+ */
13
+ export declare const utf8ArrayToString: (array: Uint8Array) => string;
@@ -0,0 +1 @@
1
+ export const utf8ArrayToString=r=>new TextDecoder().decode(r);
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _parseTypeDefinition = require("./parse-type-definition.cjs");
7
+ Object.keys(_parseTypeDefinition).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _parseTypeDefinition[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _parseTypeDefinition[key];
14
+ }
15
+ });
16
+ });
@@ -0,0 +1 @@
1
+ export * from "./parse-type-definition";
@@ -0,0 +1 @@
1
+ export*from"./parse-type-definition";
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.parseTypeDefinition = void 0;
7
+ var _typeChecks = require("../type-checks/index.cjs");
8
+ const parseTypeDefinition = e => {
9
+ if ((0, _typeChecks.isString)(e)) {
10
+ if (e.includes(":")) {
11
+ const i = e.split(":");
12
+ if (i.length > 2 && i[0]) return {
13
+ file: i[0],
14
+ name: i[1]
15
+ };
16
+ }
17
+ if (e.includes("#")) {
18
+ const i = e.split("#");
19
+ if (i.length > 2 && i[0]) return {
20
+ file: i[0],
21
+ name: i[1]
22
+ };
23
+ }
24
+ return {
25
+ file: e
26
+ };
27
+ }
28
+ if (e) return {
29
+ file: e.file,
30
+ name: e.name
31
+ };
32
+ };
33
+ exports.parseTypeDefinition = parseTypeDefinition;
@@ -0,0 +1,8 @@
1
+ import type { TypeDefinition, TypeDefinitionParameter } from "../utility-types/configuration";
2
+ /**
3
+ * Parse a type definition parameter into a {@link TypeDefinition} object
4
+ *
5
+ * @param param - The parameter to parse
6
+ * @returns The parsed type definition
7
+ */
8
+ export declare const parseTypeDefinition: (param: TypeDefinitionParameter) => TypeDefinition | undefined;
@@ -0,0 +1 @@
1
+ import{isString as n}from"../type-checks";export const parseTypeDefinition=e=>{if(n(e)){if(e.includes(":")){const i=e.split(":");if(i.length>2&&i[0])return{file:i[0],name:i[1]}}if(e.includes("#")){const i=e.split("#");if(i.length>2&&i[0])return{file:i[0],name:i[1]}}return{file:e}}if(e)return{file:e.file,name:e.name}};
package/dist/index.cjs ADDED
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _convert = require("./convert/index.cjs");
7
+ Object.keys(_convert).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _convert[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _convert[key];
14
+ }
15
+ });
16
+ });
17
+ var _helpers = require("./helpers/index.cjs");
18
+ Object.keys(_helpers).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (key in exports && exports[key] === _helpers[key]) return;
21
+ Object.defineProperty(exports, key, {
22
+ enumerable: true,
23
+ get: function () {
24
+ return _helpers[key];
25
+ }
26
+ });
27
+ });
28
+ var _typeChecks = require("./type-checks/index.cjs");
29
+ Object.keys(_typeChecks).forEach(function (key) {
30
+ if (key === "default" || key === "__esModule") return;
31
+ if (key in exports && exports[key] === _typeChecks[key]) return;
32
+ Object.defineProperty(exports, key, {
33
+ enumerable: true,
34
+ get: function () {
35
+ return _typeChecks[key];
36
+ }
37
+ });
38
+ });
39
+ var _utilityTypes = require("./utility-types/index.cjs");
40
+ Object.keys(_utilityTypes).forEach(function (key) {
41
+ if (key === "default" || key === "__esModule") return;
42
+ if (key in exports && exports[key] === _utilityTypes[key]) return;
43
+ Object.defineProperty(exports, key, {
44
+ enumerable: true,
45
+ get: function () {
46
+ return _utilityTypes[key];
47
+ }
48
+ });
49
+ });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The types library used by Storm Software for building TypeScript applications.
3
+ *
4
+ * @remarks
5
+ * A package containing many base TypeScript type definitions that are shared across many projects.
6
+ *
7
+ * @packageDocumentation
8
+ */
9
+ export * from "./convert";
10
+ export * from "./helpers";
11
+ export * from "./type-checks";
12
+ export * from "./utility-types";
package/dist/index.mjs ADDED
@@ -0,0 +1 @@
1
+ export*from"./convert";export*from"./helpers";export*from"./type-checks";export*from"./utility-types";
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getObjectTag = void 0;
7
+ const getObjectTag = t => t == null ? t === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(t);
8
+ exports.getObjectTag = getObjectTag;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Gets the `toStringTag` of `obj`.
3
+ *
4
+ * @param value - The obj to query.
5
+ * @returns Returns the `toStringTag`.
6
+ */
7
+ export declare const getObjectTag: (value: unknown) => string;
@@ -0,0 +1 @@
1
+ export const getObjectTag=t=>t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t);
@@ -0,0 +1,456 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _getObjectTag = require("./get-object-tag.cjs");
7
+ Object.keys(_getObjectTag).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _getObjectTag[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _getObjectTag[key];
14
+ }
15
+ });
16
+ });
17
+ var _isArrayLike = require("./is-array-like.cjs");
18
+ Object.keys(_isArrayLike).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (key in exports && exports[key] === _isArrayLike[key]) return;
21
+ Object.defineProperty(exports, key, {
22
+ enumerable: true,
23
+ get: function () {
24
+ return _isArrayLike[key];
25
+ }
26
+ });
27
+ });
28
+ var _isAsyncIterable = require("./is-async-iterable.cjs");
29
+ Object.keys(_isAsyncIterable).forEach(function (key) {
30
+ if (key === "default" || key === "__esModule") return;
31
+ if (key in exports && exports[key] === _isAsyncIterable[key]) return;
32
+ Object.defineProperty(exports, key, {
33
+ enumerable: true,
34
+ get: function () {
35
+ return _isAsyncIterable[key];
36
+ }
37
+ });
38
+ });
39
+ var _isBigint = require("./is-bigint.cjs");
40
+ Object.keys(_isBigint).forEach(function (key) {
41
+ if (key === "default" || key === "__esModule") return;
42
+ if (key in exports && exports[key] === _isBigint[key]) return;
43
+ Object.defineProperty(exports, key, {
44
+ enumerable: true,
45
+ get: function () {
46
+ return _isBigint[key];
47
+ }
48
+ });
49
+ });
50
+ var _isBoolean = require("./is-boolean.cjs");
51
+ Object.keys(_isBoolean).forEach(function (key) {
52
+ if (key === "default" || key === "__esModule") return;
53
+ if (key in exports && exports[key] === _isBoolean[key]) return;
54
+ Object.defineProperty(exports, key, {
55
+ enumerable: true,
56
+ get: function () {
57
+ return _isBoolean[key];
58
+ }
59
+ });
60
+ });
61
+ var _isBuffer = require("./is-buffer.cjs");
62
+ Object.keys(_isBuffer).forEach(function (key) {
63
+ if (key === "default" || key === "__esModule") return;
64
+ if (key in exports && exports[key] === _isBuffer[key]) return;
65
+ Object.defineProperty(exports, key, {
66
+ enumerable: true,
67
+ get: function () {
68
+ return _isBuffer[key];
69
+ }
70
+ });
71
+ });
72
+ var _isCollection = require("./is-collection.cjs");
73
+ Object.keys(_isCollection).forEach(function (key) {
74
+ if (key === "default" || key === "__esModule") return;
75
+ if (key in exports && exports[key] === _isCollection[key]) return;
76
+ Object.defineProperty(exports, key, {
77
+ enumerable: true,
78
+ get: function () {
79
+ return _isCollection[key];
80
+ }
81
+ });
82
+ });
83
+ var _isDate = require("./is-date.cjs");
84
+ Object.keys(_isDate).forEach(function (key) {
85
+ if (key === "default" || key === "__esModule") return;
86
+ if (key in exports && exports[key] === _isDate[key]) return;
87
+ Object.defineProperty(exports, key, {
88
+ enumerable: true,
89
+ get: function () {
90
+ return _isDate[key];
91
+ }
92
+ });
93
+ });
94
+ var _isDeepKey = require("./is-deep-key.cjs");
95
+ Object.keys(_isDeepKey).forEach(function (key) {
96
+ if (key === "default" || key === "__esModule") return;
97
+ if (key in exports && exports[key] === _isDeepKey[key]) return;
98
+ Object.defineProperty(exports, key, {
99
+ enumerable: true,
100
+ get: function () {
101
+ return _isDeepKey[key];
102
+ }
103
+ });
104
+ });
105
+ var _isEmpty = require("./is-empty.cjs");
106
+ Object.keys(_isEmpty).forEach(function (key) {
107
+ if (key === "default" || key === "__esModule") return;
108
+ if (key in exports && exports[key] === _isEmpty[key]) return;
109
+ Object.defineProperty(exports, key, {
110
+ enumerable: true,
111
+ get: function () {
112
+ return _isEmpty[key];
113
+ }
114
+ });
115
+ });
116
+ var _isEmptyObject = require("./is-empty-object.cjs");
117
+ Object.keys(_isEmptyObject).forEach(function (key) {
118
+ if (key === "default" || key === "__esModule") return;
119
+ if (key in exports && exports[key] === _isEmptyObject[key]) return;
120
+ Object.defineProperty(exports, key, {
121
+ enumerable: true,
122
+ get: function () {
123
+ return _isEmptyObject[key];
124
+ }
125
+ });
126
+ });
127
+ var _isEmptyString = require("./is-empty-string.cjs");
128
+ Object.keys(_isEmptyString).forEach(function (key) {
129
+ if (key === "default" || key === "__esModule") return;
130
+ if (key in exports && exports[key] === _isEmptyString[key]) return;
131
+ Object.defineProperty(exports, key, {
132
+ enumerable: true,
133
+ get: function () {
134
+ return _isEmptyString[key];
135
+ }
136
+ });
137
+ });
138
+ var _isEqual = require("./is-equal.cjs");
139
+ Object.keys(_isEqual).forEach(function (key) {
140
+ if (key === "default" || key === "__esModule") return;
141
+ if (key in exports && exports[key] === _isEqual[key]) return;
142
+ Object.defineProperty(exports, key, {
143
+ enumerable: true,
144
+ get: function () {
145
+ return _isEqual[key];
146
+ }
147
+ });
148
+ });
149
+ var _isError = require("./is-error.cjs");
150
+ Object.keys(_isError).forEach(function (key) {
151
+ if (key === "default" || key === "__esModule") return;
152
+ if (key in exports && exports[key] === _isError[key]) return;
153
+ Object.defineProperty(exports, key, {
154
+ enumerable: true,
155
+ get: function () {
156
+ return _isError[key];
157
+ }
158
+ });
159
+ });
160
+ var _isFileResult = require("./is-file-result.cjs");
161
+ Object.keys(_isFileResult).forEach(function (key) {
162
+ if (key === "default" || key === "__esModule") return;
163
+ if (key in exports && exports[key] === _isFileResult[key]) return;
164
+ Object.defineProperty(exports, key, {
165
+ enumerable: true,
166
+ get: function () {
167
+ return _isFileResult[key];
168
+ }
169
+ });
170
+ });
171
+ var _isFloat = require("./is-float.cjs");
172
+ Object.keys(_isFloat).forEach(function (key) {
173
+ if (key === "default" || key === "__esModule") return;
174
+ if (key in exports && exports[key] === _isFloat[key]) return;
175
+ Object.defineProperty(exports, key, {
176
+ enumerable: true,
177
+ get: function () {
178
+ return _isFloat[key];
179
+ }
180
+ });
181
+ });
182
+ var _isFunction = require("./is-function.cjs");
183
+ Object.keys(_isFunction).forEach(function (key) {
184
+ if (key === "default" || key === "__esModule") return;
185
+ if (key in exports && exports[key] === _isFunction[key]) return;
186
+ Object.defineProperty(exports, key, {
187
+ enumerable: true,
188
+ get: function () {
189
+ return _isFunction[key];
190
+ }
191
+ });
192
+ });
193
+ var _isInteger = require("./is-integer.cjs");
194
+ Object.keys(_isInteger).forEach(function (key) {
195
+ if (key === "default" || key === "__esModule") return;
196
+ if (key in exports && exports[key] === _isInteger[key]) return;
197
+ Object.defineProperty(exports, key, {
198
+ enumerable: true,
199
+ get: function () {
200
+ return _isInteger[key];
201
+ }
202
+ });
203
+ });
204
+ var _isMergeableObject = require("./is-mergeable-object.cjs");
205
+ Object.keys(_isMergeableObject).forEach(function (key) {
206
+ if (key === "default" || key === "__esModule") return;
207
+ if (key in exports && exports[key] === _isMergeableObject[key]) return;
208
+ Object.defineProperty(exports, key, {
209
+ enumerable: true,
210
+ get: function () {
211
+ return _isMergeableObject[key];
212
+ }
213
+ });
214
+ });
215
+ var _isNotEmpty = require("./is-not-empty.cjs");
216
+ Object.keys(_isNotEmpty).forEach(function (key) {
217
+ if (key === "default" || key === "__esModule") return;
218
+ if (key in exports && exports[key] === _isNotEmpty[key]) return;
219
+ Object.defineProperty(exports, key, {
220
+ enumerable: true,
221
+ get: function () {
222
+ return _isNotEmpty[key];
223
+ }
224
+ });
225
+ });
226
+ var _isNull = require("./is-null.cjs");
227
+ Object.keys(_isNull).forEach(function (key) {
228
+ if (key === "default" || key === "__esModule") return;
229
+ if (key in exports && exports[key] === _isNull[key]) return;
230
+ Object.defineProperty(exports, key, {
231
+ enumerable: true,
232
+ get: function () {
233
+ return _isNull[key];
234
+ }
235
+ });
236
+ });
237
+ var _isNumber = require("./is-number.cjs");
238
+ Object.keys(_isNumber).forEach(function (key) {
239
+ if (key === "default" || key === "__esModule") return;
240
+ if (key in exports && exports[key] === _isNumber[key]) return;
241
+ Object.defineProperty(exports, key, {
242
+ enumerable: true,
243
+ get: function () {
244
+ return _isNumber[key];
245
+ }
246
+ });
247
+ });
248
+ var _isObject = require("./is-object.cjs");
249
+ Object.keys(_isObject).forEach(function (key) {
250
+ if (key === "default" || key === "__esModule") return;
251
+ if (key in exports && exports[key] === _isObject[key]) return;
252
+ Object.defineProperty(exports, key, {
253
+ enumerable: true,
254
+ get: function () {
255
+ return _isObject[key];
256
+ }
257
+ });
258
+ });
259
+ var _isObjectIndex = require("./is-object-index.cjs");
260
+ Object.keys(_isObjectIndex).forEach(function (key) {
261
+ if (key === "default" || key === "__esModule") return;
262
+ if (key in exports && exports[key] === _isObjectIndex[key]) return;
263
+ Object.defineProperty(exports, key, {
264
+ enumerable: true,
265
+ get: function () {
266
+ return _isObjectIndex[key];
267
+ }
268
+ });
269
+ });
270
+ var _isPlainObject = require("./is-plain-object.cjs");
271
+ Object.keys(_isPlainObject).forEach(function (key) {
272
+ if (key === "default" || key === "__esModule") return;
273
+ if (key in exports && exports[key] === _isPlainObject[key]) return;
274
+ Object.defineProperty(exports, key, {
275
+ enumerable: true,
276
+ get: function () {
277
+ return _isPlainObject[key];
278
+ }
279
+ });
280
+ });
281
+ var _isPrimitive = require("./is-primitive.cjs");
282
+ Object.keys(_isPrimitive).forEach(function (key) {
283
+ if (key === "default" || key === "__esModule") return;
284
+ if (key in exports && exports[key] === _isPrimitive[key]) return;
285
+ Object.defineProperty(exports, key, {
286
+ enumerable: true,
287
+ get: function () {
288
+ return _isPrimitive[key];
289
+ }
290
+ });
291
+ });
292
+ var _isPromise = require("./is-promise.cjs");
293
+ Object.keys(_isPromise).forEach(function (key) {
294
+ if (key === "default" || key === "__esModule") return;
295
+ if (key in exports && exports[key] === _isPromise[key]) return;
296
+ Object.defineProperty(exports, key, {
297
+ enumerable: true,
298
+ get: function () {
299
+ return _isPromise[key];
300
+ }
301
+ });
302
+ });
303
+ var _isReactElement = require("./is-react-element.cjs");
304
+ Object.keys(_isReactElement).forEach(function (key) {
305
+ if (key === "default" || key === "__esModule") return;
306
+ if (key in exports && exports[key] === _isReactElement[key]) return;
307
+ Object.defineProperty(exports, key, {
308
+ enumerable: true,
309
+ get: function () {
310
+ return _isReactElement[key];
311
+ }
312
+ });
313
+ });
314
+ var _isRef = require("./is-ref.cjs");
315
+ Object.keys(_isRef).forEach(function (key) {
316
+ if (key === "default" || key === "__esModule") return;
317
+ if (key in exports && exports[key] === _isRef[key]) return;
318
+ Object.defineProperty(exports, key, {
319
+ enumerable: true,
320
+ get: function () {
321
+ return _isRef[key];
322
+ }
323
+ });
324
+ });
325
+ var _isRegexp = require("./is-regexp.cjs");
326
+ Object.keys(_isRegexp).forEach(function (key) {
327
+ if (key === "default" || key === "__esModule") return;
328
+ if (key in exports && exports[key] === _isRegexp[key]) return;
329
+ Object.defineProperty(exports, key, {
330
+ enumerable: true,
331
+ get: function () {
332
+ return _isRegexp[key];
333
+ }
334
+ });
335
+ });
336
+ var _isSelectOption = require("./is-select-option.cjs");
337
+ Object.keys(_isSelectOption).forEach(function (key) {
338
+ if (key === "default" || key === "__esModule") return;
339
+ if (key in exports && exports[key] === _isSelectOption[key]) return;
340
+ Object.defineProperty(exports, key, {
341
+ enumerable: true,
342
+ get: function () {
343
+ return _isSelectOption[key];
344
+ }
345
+ });
346
+ });
347
+ var _isSet = require("./is-set.cjs");
348
+ Object.keys(_isSet).forEach(function (key) {
349
+ if (key === "default" || key === "__esModule") return;
350
+ if (key in exports && exports[key] === _isSet[key]) return;
351
+ Object.defineProperty(exports, key, {
352
+ enumerable: true,
353
+ get: function () {
354
+ return _isSet[key];
355
+ }
356
+ });
357
+ });
358
+ var _isSetObject = require("./is-set-object.cjs");
359
+ Object.keys(_isSetObject).forEach(function (key) {
360
+ if (key === "default" || key === "__esModule") return;
361
+ if (key in exports && exports[key] === _isSetObject[key]) return;
362
+ Object.defineProperty(exports, key, {
363
+ enumerable: true,
364
+ get: function () {
365
+ return _isSetObject[key];
366
+ }
367
+ });
368
+ });
369
+ var _isSetString = require("./is-set-string.cjs");
370
+ Object.keys(_isSetString).forEach(function (key) {
371
+ if (key === "default" || key === "__esModule") return;
372
+ if (key in exports && exports[key] === _isSetString[key]) return;
373
+ Object.defineProperty(exports, key, {
374
+ enumerable: true,
375
+ get: function () {
376
+ return _isSetString[key];
377
+ }
378
+ });
379
+ });
380
+ var _isString = require("./is-string.cjs");
381
+ Object.keys(_isString).forEach(function (key) {
382
+ if (key === "default" || key === "__esModule") return;
383
+ if (key in exports && exports[key] === _isString[key]) return;
384
+ Object.defineProperty(exports, key, {
385
+ enumerable: true,
386
+ get: function () {
387
+ return _isString[key];
388
+ }
389
+ });
390
+ });
391
+ var _isSymbol = require("./is-symbol.cjs");
392
+ Object.keys(_isSymbol).forEach(function (key) {
393
+ if (key === "default" || key === "__esModule") return;
394
+ if (key in exports && exports[key] === _isSymbol[key]) return;
395
+ Object.defineProperty(exports, key, {
396
+ enumerable: true,
397
+ get: function () {
398
+ return _isSymbol[key];
399
+ }
400
+ });
401
+ });
402
+ var _isTyped = require("./is-typed.cjs");
403
+ Object.keys(_isTyped).forEach(function (key) {
404
+ if (key === "default" || key === "__esModule") return;
405
+ if (key in exports && exports[key] === _isTyped[key]) return;
406
+ Object.defineProperty(exports, key, {
407
+ enumerable: true,
408
+ get: function () {
409
+ return _isTyped[key];
410
+ }
411
+ });
412
+ });
413
+ var _isTypedArray = require("./is-typed-array.cjs");
414
+ Object.keys(_isTypedArray).forEach(function (key) {
415
+ if (key === "default" || key === "__esModule") return;
416
+ if (key in exports && exports[key] === _isTypedArray[key]) return;
417
+ Object.defineProperty(exports, key, {
418
+ enumerable: true,
419
+ get: function () {
420
+ return _isTypedArray[key];
421
+ }
422
+ });
423
+ });
424
+ var _isUndefined = require("./is-undefined.cjs");
425
+ Object.keys(_isUndefined).forEach(function (key) {
426
+ if (key === "default" || key === "__esModule") return;
427
+ if (key in exports && exports[key] === _isUndefined[key]) return;
428
+ Object.defineProperty(exports, key, {
429
+ enumerable: true,
430
+ get: function () {
431
+ return _isUndefined[key];
432
+ }
433
+ });
434
+ });
435
+ var _propertyExists = require("./property-exists.cjs");
436
+ Object.keys(_propertyExists).forEach(function (key) {
437
+ if (key === "default" || key === "__esModule") return;
438
+ if (key in exports && exports[key] === _propertyExists[key]) return;
439
+ Object.defineProperty(exports, key, {
440
+ enumerable: true,
441
+ get: function () {
442
+ return _propertyExists[key];
443
+ }
444
+ });
445
+ });
446
+ var _typeDetect = require("./type-detect.cjs");
447
+ Object.keys(_typeDetect).forEach(function (key) {
448
+ if (key === "default" || key === "__esModule") return;
449
+ if (key in exports && exports[key] === _typeDetect[key]) return;
450
+ Object.defineProperty(exports, key, {
451
+ enumerable: true,
452
+ get: function () {
453
+ return _typeDetect[key];
454
+ }
455
+ });
456
+ });