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

Function toArray

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

Source from the content-addressed store, hash-verified

592 * @since 4.0.0
593 */
594export const toArray = <A>(self: MutableList<A>): Array<A> => toArrayN(self, self.length)
595
596/**
597 * Filters the MutableList in place, keeping only elements that satisfy the predicate.

Callers

nothing calls this directly

Calls 1

toArrayNFunction · 0.85

Tested by

no test coverage detected