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

Function empty

packages/effect/src/SortedSet.ts:92–92  ·  view source on GitHub ↗
(O: Order<A>)

Source from the content-addressed store, hash-verified

90 * @category constructors
91 */
92export const empty = <A>(O: Order<A>): SortedSet<A> => fromTree(RBT.empty(O))
93
94/**
95 * Creates a new `SortedSet` from an iterable collection of values.

Callers 1

SortedSet.tsFile · 0.70

Calls 1

fromTreeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…