MCPcopy
hub / github.com/Effect-TS/effect / of

Function of

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

Source from the content-addressed store, hash-verified

240 * @since 2.0.0
241 */
242export const of = <A>(a: A): NonEmptyChunk<A> => makeChunk({ _tag: "ISingleton", a }) as any
243
244/**
245 * Creates a new `Chunk` from an iterable collection of values.

Callers 3

unsafeFromArrayFunction · 0.70
Chunk.tsFile · 0.70
rangeFunction · 0.70

Calls 1

makeChunkFunction · 0.85

Tested by

no test coverage detected