Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ size
Function
size
packages/effect/src/internal/trie.ts:246–246 ·
view source on GitHub ↗
(self: TR.Trie<V>)
Source
from the content-addressed store, hash-verified
244
245
/** @internal */
246
export
const
size = <V>(self: TR.Trie<V>): number => (self as TrieImpl<V>)._root?.count ?? 0
247
248
/** @internal */
249
export
const
isEmpty = <V>(self: TR.Trie<V>): boolean => size(self) === 0
Callers
1
isEmpty
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected