MCPcopy Create free account
hub / github.com/TanStack/db / isEmpty

Method isEmpty

packages/db/src/utils/btree.ts:139–141  ·  view source on GitHub ↗

Returns true iff the tree contains no key-value pairs.

()

Source from the content-addressed store, hash-verified

137 }
138 /** Returns true iff the tree contains no key-value pairs. */
139 get isEmpty() {
140 return this._size === 0
141 }
142
143 /** Releases the tree so that its size is 0. */
144 clear() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected