@sumaris-net/ngx-components 1.10.6 → 1.10.7

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "1.10.6",
4
+ "version": "1.10.7",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -45,6 +45,7 @@ export declare abstract class Entity<T extends Entity<T, ID, AO, FO>, ID = numbe
45
45
  */
46
46
  export declare function isInstanceOf<T>(obj: any, constructor: new (...args: any[]) => T): obj is T;
47
47
  export declare abstract class EntityUtils {
48
+ static isEntity<T extends IEntity<any>>(obj: T | any): obj is T;
48
49
  static isNotEmpty<T extends IEntity<any> | any>(obj: T, checkedAttribute: keyof T): boolean;
49
50
  static isEmpty<T extends IEntity<any> | any>(obj: T, checkedAttribute: keyof T): boolean;
50
51
  static equals<T extends IEntity<any> | any>(o1: T, o2: T, checkAttribute?: keyof T): boolean;