MCPcopy Index your code
hub / github.com/Effect-TS/effect / toArray

Function toArray

packages/typeclass/src/Foldable.ts:55–57  ·  view source on GitHub ↗
(
  F: Foldable<F>
)

Source from the content-addressed store, hash-verified

53 * @since 0.24.0
54 */
55export const toArray = <F extends TypeLambda>(
56 F: Foldable<F>
57): <R, O, E, A>(self: Kind<F, R, O, E, A>) => Array<A> => toArrayMap(F)(identity)
58
59/**
60 * @since 0.24.0

Callers 1

Foldable.test.tsFile · 0.50

Calls 1

toArrayMapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…