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

Function array

packages/typeclass/src/Monoid.ts:88–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86 * @since 0.24.0
87 */
88export const array = <A>(): Monoid<ReadonlyArray<A>> => fromSemigroup(semigroup.array<A>(), [])
89
90/**
91 * This function creates and returns a new `Monoid` for a struct of values based on the given `Monoid`s for each property in the struct.

Callers

nothing calls this directly

Calls 2

fromSemigroupFunction · 0.85
arrayMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…