We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42f63a5 commit a634e36Copy full SHA for a634e36
packages/database/src/core/util/Tree.ts
@@ -100,7 +100,7 @@ export function treeHasChildren<T>(tree: Tree<T>): boolean {
100
}
101
102
/**
103
- * @returns Whethe rthe tree is empty (no value or children).
+ * @returns Whether the tree is empty (no value or children).
104
*/
105
export function treeIsEmpty<T>(tree: Tree<T>): boolean {
106
return treeGetValue(tree) === undefined && !treeHasChildren(tree);
0 commit comments