Import
import { RefTrie } from "@typed/fx";This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export * as RefTrie from "./RefTrie.js";Members
RefTrie.RefTrieA RefTrie is a RefSubject specialized over a Trie.
RefTrie.clearClear all entries from the Trie.
RefTrie.compactCompact Option values.
RefTrie.entriesGet all entries from the Trie.
RefTrie.entriesWithPrefixGet all entries with a given prefix.
RefTrie.filterFilter entries into a read-only derived trie.
RefTrie.filterMapFilter and map entries into a read-only derived trie.
RefTrie.getGet the value at a key as a Filtered.
RefTrie.hasCheck if a key exists in the Trie.
RefTrie.insertInsert a key-value pair into the Trie.
RefTrie.insertManyInsert multiple key-value pairs into the Trie.
RefTrie.isEmptyCheck if the Trie is empty.
RefTrie.isNonEmptyCheck if the Trie is non-empty.
RefTrie.keysGet all keys from the Trie.
RefTrie.keysWithPrefixGet all keys with a given prefix.
RefTrie.longestPrefixOfGet the longest prefix of a key that exists in the Trie.
RefTrie.makeCreates a new
RefTriefrom a Trie,Effect, orFx.RefTrie.mapMap values into a read-only derived trie.
RefTrie.mapValuesMap values to a different type.
RefTrie.modifyModify the value at a key if it exists.
RefTrie.reduceReduce the entries to a single value.
RefTrie.removeRemove a key from the Trie.
RefTrie.removeManyRemove multiple keys from the Trie.
RefTrie.sizeGet the current size of the Trie.
RefTrie.valuesGet all values from the Trie.
RefTrie.valuesWithPrefixGet all values with a given prefix.