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

Function of

packages/effect/src/Chunk.ts:333–333  ·  view source on GitHub ↗
(a: A)

Source from the content-addressed store, hash-verified

331 * @since 2.0.0
332 */
333export const of = <A>(a: A): NonEmptyChunk<A> => makeChunk({ _tag: "ISingleton", a }) as any
334
335/**
336 * Creates a new `Chunk` from an iterable collection of values.

Callers 3

fromArrayUnsafeFunction · 0.70
Chunk.tsFile · 0.70
rangeFunction · 0.70

Calls 1

makeChunkFunction · 0.85

Tested by

no test coverage detected