js-utils-kit 0.2.3 → 0.3.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.
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("../validate-BKQ-HFTd.js"),e={isArray:r.isArray};exports.isArray=r.isArray,exports.default=e;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Checks if a value is a defined array.
3
+ * @param value - The value to check.
4
+ * @returns True if the value is a defined array, false otherwise.
5
+ * @example
6
+ * ```ts
7
+ * console.log(isArray([1, 2, 3])); // true
8
+ * console.log(isArray([])); // true
9
+ * console.log(isArray({})); // false
10
+ * console.log(isArray(null)); // false
11
+ * console.log(isArray(undefined)); // false
12
+ * console.log(isArray("hello")); // false
13
+ * ```
14
+ */
15
+ declare function isArray<T>(value: T): boolean;
16
+
17
+ declare const _default: {
18
+ isArray: typeof isArray;
19
+ };
20
+
21
+ export { _default as default, isArray };
@@ -0,0 +1 @@
1
+ import{i as a}from"../validate-D9J7otjc.js";var r={isArray:a};export{r as default,a as isArray};