@creejs/commons-lang 2.1.30 → 2.1.31

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creejs/commons-lang",
3
- "version": "2.1.30",
3
+ "version": "2.1.31",
4
4
  "description": "Commons Utils About Language, used inside creejs",
5
5
  "keywords": [
6
6
  "commons",
@@ -1,3 +1,13 @@
1
+ /**
2
+ *
3
+ * @param {{[key:string]:any}} obj
4
+ * @param {string} path
5
+ * @param {any} [defaultValue]
6
+ * @returns
7
+ */
8
+ export function get(obj: {
9
+ [key: string]: any;
10
+ }, path: string, defaultValue?: any): any;
1
11
  /**
2
12
  * Gets the constructor name of a value.
3
13
  * @param {*} value - The value to check.
@@ -77,6 +87,7 @@ export function isBrowser(): boolean;
77
87
  */
78
88
  export function isNode(): boolean;
79
89
  declare namespace _default {
90
+ export { get };
80
91
  export { constructorName };
81
92
  export { defaults };
82
93
  export { extend };