Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
511
export
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
takeN
Function · 0.70
Tested by
no test coverage detected