@galacean/effects-core 2.6.1 → 2.6.3

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.
@@ -71,6 +71,13 @@ export declare function isFunction(obj: unknown): obj is Function;
71
71
  * @return
72
72
  */
73
73
  export declare function isObject(obj: unknown): obj is Record<string | symbol, unknown>;
74
+ /**
75
+ * 判断对象是否是`Plain Object`类型
76
+ *
77
+ * @param obj - 要判断的对象
78
+ * @returns
79
+ */
80
+ export declare function isPlainObject(obj: unknown): obj is Record<string | symbol, unknown>;
74
81
  export declare function isCanvas(canvas: HTMLCanvasElement): boolean;
75
82
  /**
76
83
  * 生成一个位于 min 和 max 之间的随机数
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-core",
3
- "version": "2.6.1",
3
+ "version": "2.6.3",
4
4
  "description": "Galacean Effects runtime core for the web",
5
5
  "module": "./dist/index.mjs",
6
6
  "main": "./dist/index.js",