MCPcopy Create free account
hub / github.com/Effect-TS/effect / make

Function make

packages/effect/src/MutableList.ts:155–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153 * @since 2.0.0
154 */
155export const make = <A>(): MutableList<A> => ({
156 head: undefined,
157 tail: undefined,
158 length: 0
159})
160
161const emptyBucket = <A = never>(): MutableList.Bucket<A> => ({
162 array: [],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected