@base-framework/base 3.0.191 → 3.0.193

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.
@@ -1,52 +1,52 @@
1
1
  /**
2
2
  * Types
3
3
  *
4
- * This will contain methods for working with types.
4
+ * Utility class for working with variable types.
5
5
  *
6
6
  * @module
7
7
  * @name Types
8
8
  */
9
9
  export class Types {
10
10
  /**
11
- * This will get the type of a variable.
11
+ * Gets the type of a variable.
12
12
  *
13
- * @param {*} data
14
- * @returns {string}
13
+ * @param {*} data - The data whose type is to be determined.
14
+ * @returns {string} The type of the variable ('undefined', 'object', 'function', 'array', etc.).
15
15
  */
16
16
  static getType(data: any): string;
17
17
  /**
18
- * This will check if a request is undefined.
18
+ * Checks if a value is undefined.
19
19
  *
20
- * @param {*} data
21
- * @returns {boolean}
20
+ * @param {*} data - The data to check.
21
+ * @returns {boolean} True if the data is undefined.
22
22
  */
23
23
  static isUndefined(data: any): boolean;
24
24
  /**
25
- * This will check if the request is an object.
25
+ * Checks if a value is an object (excluding arrays).
26
26
  *
27
- * @param {*} data
28
- * @returns {boolean}
27
+ * @param {*} data - The data to check.
28
+ * @returns {boolean} True if the data is a plain object.
29
29
  */
30
30
  static isObject(data: any): boolean;
31
31
  /**
32
- * This will check if the request is a function.
32
+ * Checks if a value is a function.
33
33
  *
34
- * @param {*} data
35
- * @returns {boolean}
34
+ * @param {*} data - The data to check.
35
+ * @returns {boolean} True if the data is a function.
36
36
  */
37
37
  static isFunction(data: any): boolean;
38
38
  /**
39
- * This will check if the request is a string.
39
+ * Checks if a value is a string.
40
40
  *
41
- * @param {*} data
42
- * @returns {boolean}
41
+ * @param {*} data - The data to check.
42
+ * @returns {boolean} True if the data is a string.
43
43
  */
44
44
  static isString(data: any): boolean;
45
45
  /**
46
- * This will check if the data is an array.
46
+ * Checks if a value is an array.
47
47
  *
48
- * @param {*} data
49
- * @returns {boolean}
48
+ * @param {*} data - The data to check.
49
+ * @returns {boolean} True if the data is an array.
50
50
  */
51
51
  static isArray(data: any): boolean;
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/base",
3
- "version": "3.0.191",
3
+ "version": "3.0.193",
4
4
  "description": "This is a javascript framework.",
5
5
  "main": "./dist/base.js",
6
6
  "type": "module",