@rkmodules/rules 0.0.112 → 0.0.113
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/dist/index.cjs.js +10 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +10 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/lib/DataTree/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -29,6 +29,7 @@ export declare function trimTree<T>(tree: Tree<T>, depth?: number): Tree<T>;
|
|
|
29
29
|
* checks if the given structure is a data tree
|
|
30
30
|
*/
|
|
31
31
|
export declare function isTree(value: any): value is Tree<any>;
|
|
32
|
+
export declare function isEmptyTree(value: any): boolean;
|
|
32
33
|
export declare function isSingleTon(value: Tree<any>): boolean;
|
|
33
34
|
/**
|
|
34
35
|
* turns a value or array of values into a tree
|