@leafer/data
Advanced tools
+2
-2
| { | ||
| "name": "@leafer/data", | ||
| "version": "1.5.1", | ||
| "version": "1.5.2", | ||
| "description": "@leafer/data", | ||
@@ -25,4 +25,4 @@ "author": "Chao (Leafer) Wan", | ||
| "devDependencies": { | ||
| "@leafer/interface": "1.5.1" | ||
| "@leafer/interface": "1.5.2" | ||
| } | ||
| } |
+4
-0
@@ -17,2 +17,6 @@ import { IObject } from '@leafer/interface' | ||
| return value === undefined || value === null | ||
| } | ||
| export function isEmptyData(value: any): boolean { | ||
| return JSON.stringify(value) === '{}' | ||
| } |
+2
-1
@@ -44,3 +44,4 @@ import { IObject, IBooleanMap, ILeafData, ILeaf, IPathCommandData, IJSONOptions } from '@leafer/interface'; | ||
| declare function isNull(value: any): boolean; | ||
| declare function isEmptyData(value: any): boolean; | ||
| export { Answer, DataHelper, LeafData, emptyData, isNull }; | ||
| export { Answer, DataHelper, LeafData, emptyData, isEmptyData, isNull }; |
9193
1.77%202
2.02%