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

Function makeNode

packages/effect/src/MutableList.ts:87–92  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

85
86/** @internal */
87const makeNode = <T>(value: T): LinkedListNode<T> => ({
88 value,
89 removed: false,
90 prev: undefined,
91 next: undefined
92})
93
94/**
95 * Creates an empty `MutableList`.

Callers 1

MutableList.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…