Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
*/
242
export
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
unsafeFromArray
Function · 0.70
Chunk.ts
File · 0.70
range
Function · 0.70
Calls
1
makeChunk
Function · 0.85
Tested by
no test coverage detected