MCPcopy
hub / github.com/Effect-TS/effect / fromTree

Function fromTree

packages/effect/src/SortedSet.ts:73–77  ·  view source on GitHub ↗
(keyTree: RBT.RedBlackTree<A, boolean>)

Source from the content-addressed store, hash-verified

71}
72
73const fromTree = <A>(keyTree: RBT.RedBlackTree<A, boolean>): SortedSet<A> => {
74 const a = Object.create(SortedSetProto)
75 a.keyTree = keyTree
76 return a
77}
78
79/**
80 * @since 2.0.0

Callers 2

emptyFunction · 0.85
SortedSet.tsFile · 0.85

Calls 1

createMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…