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

Function makeImpl

packages/effect/src/SortedMap.ts:73–77  ·  view source on GitHub ↗
(tree: RBT.RedBlackTree<K, V>)

Source from the content-addressed store, hash-verified

71}
72
73const makeImpl = <K, V>(tree: RBT.RedBlackTree<K, V>): SortedMap<K, V> => {
74 const self = Object.create(SortedMapProto)
75 self.tree = tree
76 return self
77}
78
79/**
80 * @since 2.0.0

Callers 2

emptyFunction · 0.70
SortedMap.tsFile · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected