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

Function toArray_

packages/effect/src/Chunk.ts:380–380  ·  view source on GitHub ↗
(self: Chunk<A>)

Source from the content-addressed store, hash-verified

378}
379
380const toArray_ = <A>(self: Chunk<A>): Array<A> => toReadonlyArray(self).slice()
381
382/**
383 * Converts a `Chunk` into an `Array`. If the provided `Chunk` is non-empty

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected