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

Function empty

packages/effect/src/SortedMap.ts:92–92  ·  view source on GitHub ↗
(ord: Order<K>)

Source from the content-addressed store, hash-verified

90 * @category constructors
91 */
92export const empty = <K, V = never>(ord: Order<K>): SortedMap<K, V> => makeImpl<K, V>(RBT.empty<K, V>(ord))
93
94/**
95 * Creates a new `SortedMap` from an iterable collection of key/value pairs.

Callers 1

SortedMap.tsFile · 0.70

Calls 1

makeImplFunction · 0.70

Tested by

no test coverage detected