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

Function fromNonEmptyArrayUnsafe

packages/effect/src/Chunk.ts:625–626  ·  view source on GitHub ↗
(self: NonEmptyReadonlyArray<A>)

Source from the content-addressed store, hash-verified

623 * @since 4.0.0
624 */
625export const fromNonEmptyArrayUnsafe = <A>(self: NonEmptyReadonlyArray<A>): NonEmptyChunk<A> =>
626 fromArrayUnsafe(self) as any
627
628/**
629 * Gets an element at the specified index without returning an `Option`.

Callers 2

makeFunction · 0.85
Chunk.tsFile · 0.85

Calls 1

fromArrayUnsafeFunction · 0.85

Tested by

no test coverage detected