MCPcopy Index your code
hub / github.com/Effect-TS/effect / lastOption

Function lastOption

packages/effect/src/SortedMap.ts:258–258  ·  view source on GitHub ↗
(self: SortedMap<K, V>)

Source from the content-addressed store, hash-verified

256 * @category elements
257 */
258export const lastOption = <K, V>(self: SortedMap<K, V>): Option.Option<[K, V]> => RBT.last(self.tree)
259
260/**
261 * @since 3.1.0

Callers

nothing calls this directly

Calls 1

lastMethod · 0.80

Tested by

no test coverage detected