Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method BSTree.prototype.isEmpty
import { BSTree } from "https://deno.land/std@0.158.0/collections/bs_tree.ts";

Checks if the binary search tree is empty.

Returns

boolean