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

Function takeAll

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

Source from the content-addressed store, hash-verified

509 * @since 4.0.0
510 */
511export const takeAll = <A>(self: MutableList<A>): Array<A> => takeN(self, self.length)
512
513/**
514 * Takes a single element from the beginning of the MutableList.

Callers

nothing calls this directly

Calls 1

takeNFunction · 0.70

Tested by

no test coverage detected